adm8668: add 3.18 support
[openwrt/staging/chunkeey.git] / target / linux / adm8668 / patches-3.18 / 001-adm8668_arch.patch
1 --- a/arch/mips/Kbuild.platforms
2 +++ b/arch/mips/Kbuild.platforms
3 @@ -30,6 +30,7 @@ platforms += sibyte
4 platforms += sni
5 platforms += txx9
6 platforms += vr41xx
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 @@ -136,6 +136,27 @@ 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 SYS_HAS_EARLY_PRINTK
32 + select ARCH_REQUIRE_GPIOLIB
33 + select HAVE_CLK
34 + help
35 + ADM8668 board support by neutronscott
36 + Scott Nicholas <neutronscott@scottn.us>
37 +
38 config BCM63XX
39 bool "Broadcom BCM63XX based boards"
40 select BOOT_RAW
41 @@ -834,6 +855,7 @@ config MIPS_PARAVIRT
42
43 endchoice
44
45 +source "arch/mips/adm8668/Kconfig"
46 source "arch/mips/alchemy/Kconfig"
47 source "arch/mips/ath79/Kconfig"
48 source "arch/mips/bcm47xx/Kconfig"