netifd: improve error handling in legacy script compatibility library, do not fill...
[openwrt.git] / target / linux / amazon / patches-2.6.32 / 100-board.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -96,6 +96,22 @@ config BCM63XX
4         help
5          Support for BCM63XX based boards
6  
7 +config AMAZON
8 +       bool "Amazon support (EXPERIMENTAL)"
9 +       depends on EXPERIMENTAL
10 +       select DMA_NONCOHERENT
11 +       select IRQ_CPU
12 +       select CEVT_R4K
13 +       select CSRC_R4K
14 +       select SYS_HAS_CPU_MIPS32_R1
15 +       select SYS_HAS_CPU_MIPS32_R2
16 +       select HAVE_STD_PC_SERIAL_PORT
17 +       select SYS_SUPPORTS_BIG_ENDIAN
18 +       select SYS_SUPPORTS_32BIT_KERNEL
19 +       select SYS_HAS_EARLY_PRINTK
20 +       select HW_HAS_PCI
21 +       select SWAP_IO_SPACE
22 +
23  config MIPS_COBALT
24         bool "Cobalt Server"
25         select CEVT_R4K
26 @@ -673,6 +689,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
27  
28  endchoice
29  
30 +source "arch/mips/amazon/Kconfig"
31  source "arch/mips/alchemy/Kconfig"
32  source "arch/mips/basler/excite/Kconfig"
33  source "arch/mips/bcm63xx/Kconfig"
34 --- a/arch/mips/Makefile
35 +++ b/arch/mips/Makefile
36 @@ -298,6 +298,13 @@ cflags-$(CONFIG_SOC_AU1X00)        += -I$(srctr
37  
38  
39  #
40 +# Infineon AMAZON
41 +#
42 +core-$(CONFIG_AMAZON)          += arch/mips/amazon/
43 +cflags-$(CONFIG_AMAZON)        += -I$(srctree)/arch/mips/include/asm/mach-amazon
44 +load-$(CONFIG_AMAZON)          += 0xffffffff80002000
45 +
46 +#
47  # Cobalt Server
48  #
49  core-$(CONFIG_MIPS_COBALT)     += arch/mips/cobalt/