[adm8668] cleanup PCI controller code
[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,25 @@ 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 + help
33 + ADM8668 board support by neutronscott
34 + Scott Nicholas <neutronscott@scottn.us>
35 +
36 config BCM63XX
37 bool "Broadcom BCM63XX based boards"
38 select CEVT_R4K
39 @@ -813,6 +832,7 @@ config NLM_XLP_BOARD
40
41 endchoice
42
43 +source "arch/mips/adm8668/Kconfig"
44 source "arch/mips/alchemy/Kconfig"
45 source "arch/mips/ath79/Kconfig"
46 source "arch/mips/bcm47xx/Kconfig"