[adm8668] move setup-related functions to their own file
[openwrt.git] / target / linux / adm8668 / patches-3.3 / 001-adm8668_arch.patch
1 --- a/arch/mips/Kbuild.platforms
2 +++ b/arch/mips/Kbuild.platforms
3 @@ -30,6 +30,7 @@ platforms += sni
4  platforms += txx9
5  platforms += vr41xx
6  platforms += wrppmc
7 +platforms += adm8668
8  
9  # include the platform specific files
10  include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
11 --- a/arch/mips/Kconfig
12 +++ b/arch/mips/Kconfig
13 @@ -105,6 +105,26 @@ config BCM47XX
14         help
15          Support for BCM47XX based boards
16  
17 +config ADM8668
18 +       bool "WildPass ADM8668"
19 +       select SYS_HAS_CPU_MIPS32_R1
20 +       select BOOT_RAW
21 +       select NO_EXCEPT_FILL
22 +       select IRQ_CPU
23 +       select CEVT_R4K
24 +       select CSRC_R4K
25 +       select HW_HAS_PCI
26 +       select PCI
27 +       select SYS_SUPPORTS_LITTLE_ENDIAN
28 +       select SYS_SUPPORTS_32BIT_KERNEL
29 +       select DMA_NONCOHERENT
30 +       select SWAP_IO_SPACE
31 +       select SERIAL_ADM8668
32 +       select SERIAL_ADM8668_CONSOLE
33 +       help
34 +               ADM8668 board support by neutronscott
35 +               Scott Nicholas <neutronscott@scottn.us>
36 +
37  config BCM63XX
38         bool "Broadcom BCM63XX based boards"
39         select CEVT_R4K