| 1 | --- a/arch/mips/Kconfig |
| 2 | +++ b/arch/mips/Kconfig |
| 3 | @@ -102,6 +102,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 | @@ -716,6 +732,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/bcm63xx/Kconfig" |
| 33 | source "arch/mips/jazz/Kconfig" |
| 34 | --- a/arch/mips/Kbuild.platforms |
| 35 | +++ b/arch/mips/Kbuild.platforms |
| 36 | @@ -5,6 +5,7 @@ platforms += ar7 |
| 37 | platforms += bcm47xx |
| 38 | platforms += bcm63xx |
| 39 | platforms += cavium-octeon |
| 40 | +platforms += amazon |
| 41 | platforms += cobalt |
| 42 | platforms += dec |
| 43 | platforms += emma |
| 44 | --- /dev/null |
| 45 | +++ b/arch/mips/amazon/Platform |
| 46 | @@ -0,0 +1,7 @@ |
| 47 | +# |
| 48 | +# Infineon AMAZON boards |
| 49 | +# |
| 50 | +platform-$(CONFIG_AMAZON) += amazon/ |
| 51 | +cflags-$(CONFIG_AMAZON) += \ |
| 52 | + -I$(srctree)/arch/mips/include/asm/mach-amazon |
| 53 | +load-$(CONFIG_AMAZON) := 0xffffffff80002000 |
| 54 | |