ramips: update mips multi-machine stuff
[openwrt.git] / target / linux / adm5120 / patches-2.6.31 / 001-adm5120.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -19,6 +19,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
25 @@ -658,6 +673,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/basler/excite/Kconfig"
32 source "arch/mips/jazz/Kconfig"
33 --- a/arch/mips/Makefile
34 +++ b/arch/mips/Makefile
35 @@ -187,6 +187,22 @@ 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_INFINEON) += arch/mips/adm5120/infineon/
47 +core-$(CONFIG_ADM5120_OEM_MIKROTIK) += arch/mips/adm5120/mikrotik/
48 +core-$(CONFIG_ADM5120_OEM_MOTOROLA) += arch/mips/adm5120/motorola/
49 +core-$(CONFIG_ADM5120_OEM_OSBRIDGE) += arch/mips/adm5120/osbridge/
50 +core-$(CONFIG_ADM5120_OEM_ZYXEL) += arch/mips/adm5120/zyxel/
51 +cflags-$(CONFIG_ADM5120) += -I$(srctree)/arch/mips/include/asm/mach-adm5120
52 +load-$(CONFIG_ADM5120) += 0xffffffff80001000
53 +
54 +#
55 # Common Alchemy Au1x00 stuff
56 #
57 core-$(CONFIG_SOC_AU1X00) += arch/mips/alchemy/common/
This page took 0.05538 seconds and 5 git commands to generate.