ar71xx: populate LED configuration for WZR-HP-G300NH
[openwrt.git] / target / linux / adm5120 / patches-2.6.35 / 001-adm5120.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -23,6 +23,21 @@ choice
4 prompt "System type"
5 default SGI_IP22
6
7 +config ADM5120
8 + bool "Infineon/ADMtek ADM5120 SoC based machines"
9 + select CEVT_R4K
10 + select CSRC_R4K
11 + select SYS_HAS_CPU_MIPS32_R1
12 + select SYS_HAS_EARLY_PRINTK
13 + select DMA_NONCOHERENT
14 + select IRQ_CPU
15 + select SYS_SUPPORTS_LITTLE_ENDIAN
16 + select SYS_SUPPORTS_BIG_ENDIAN
17 + select SYS_SUPPORTS_32BIT_KERNEL
18 + select ARCH_REQUIRE_GPIOLIB
19 + select SWAP_IO_SPACE if CPU_BIG_ENDIAN
20 + select MIPS_MACHINE
21 +
22 config MACH_ALCHEMY
23 bool "Alchemy processor based machines"
24 select SYS_SUPPORTS_ZBOOT
25 @@ -681,6 +696,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
26
27 endchoice
28
29 +source "arch/mips/adm5120/Kconfig"
30 source "arch/mips/alchemy/Kconfig"
31 source "arch/mips/bcm63xx/Kconfig"
32 source "arch/mips/jazz/Kconfig"
33 --- a/arch/mips/Makefile
34 +++ b/arch/mips/Makefile
35 @@ -214,6 +214,23 @@ cflags-$(CONFIG_MACH_JAZZ) += -I$(srctre
36 load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000
37
38 #
39 +# Infineon/ADMtek ADM5120
40 +#
41 +libs-$(CONFIG_ADM5120) += arch/mips/adm5120/prom/
42 +core-$(CONFIG_ADM5120) += arch/mips/adm5120/common/
43 +core-$(CONFIG_ADM5120_OEM_CELLVISION) += arch/mips/adm5120/cellvision/
44 +core-$(CONFIG_ADM5120_OEM_COMPEX) += arch/mips/adm5120/compex/
45 +core-$(CONFIG_ADM5120_OEM_EDIMAX) += arch/mips/adm5120/edimax/
46 +core-$(CONFIG_ADM5120_OEM_GENERIC) += arch/mips/adm5120/generic/
47 +core-$(CONFIG_ADM5120_OEM_INFINEON) += arch/mips/adm5120/infineon/
48 +core-$(CONFIG_ADM5120_OEM_MIKROTIK) += arch/mips/adm5120/mikrotik/
49 +core-$(CONFIG_ADM5120_OEM_MOTOROLA) += arch/mips/adm5120/motorola/
50 +core-$(CONFIG_ADM5120_OEM_OSBRIDGE) += arch/mips/adm5120/osbridge/
51 +core-$(CONFIG_ADM5120_OEM_ZYXEL) += arch/mips/adm5120/zyxel/
52 +cflags-$(CONFIG_ADM5120) += -I$(srctree)/arch/mips/include/asm/mach-adm5120
53 +load-$(CONFIG_ADM5120) += 0xffffffff80001000
54 +
55 +#
56 # Common Alchemy Au1x00 stuff
57 #
58 core-$(CONFIG_SOC_AU1X00) += arch/mips/alchemy/common/
This page took 0.060493 seconds and 5 git commands to generate.