[adm8668] add a gpiolib driver
[openwrt/svn-archive/archive.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 SYS_HAS_EARLY_PRINTK
32 + select ARCH_REQUIRE_GPIOLIB
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
40 @@ -813,6 +833,7 @@ config NLM_XLP_BOARD
41
42 endchoice
43
44 +source "arch/mips/adm8668/Kconfig"
45 source "arch/mips/alchemy/Kconfig"
46 source "arch/mips/ath79/Kconfig"
47 source "arch/mips/bcm47xx/Kconfig"