diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2009-11-28 22:17:37 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2009-11-28 22:17:37 +0000 |
commit | b1d12c1feb88218b3d60dc61a16380ee09be90a2 (patch) | |
tree | f9c0860e6341d2d8c2f4c8f529bf96a6caddc0f5 /target/linux/amazon/patches-2.6.30/100-board.patch | |
parent | d4f45a44bd71cd5845b53a33097b0ad8d8a5c474 (diff) | |
download | upstream-b1d12c1feb88218b3d60dc61a16380ee09be90a2.tar.gz upstream-b1d12c1feb88218b3d60dc61a16380ee09be90a2.tar.bz2 upstream-b1d12c1feb88218b3d60dc61a16380ee09be90a2.zip |
[amazon] Add kernel 2.6.30 support
The device is booting and Ethernet is working, but nothing more was tested.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18589 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/amazon/patches-2.6.30/100-board.patch')
-rw-r--r-- | target/linux/amazon/patches-2.6.30/100-board.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/target/linux/amazon/patches-2.6.30/100-board.patch b/target/linux/amazon/patches-2.6.30/100-board.patch new file mode 100644 index 0000000000..df813e74d6 --- /dev/null +++ b/target/linux/amazon/patches-2.6.30/100-board.patch @@ -0,0 +1,48 @@ +--- a/arch/mips/Kconfig ++++ b/arch/mips/Kconfig +@@ -60,6 +60,21 @@ config BCM47XX + help + Support for BCM47XX based boards + ++config AMAZON ++ bool "Amazon support (EXPERIMENTAL)" ++ depends on EXPERIMENTAL ++ select DMA_NONCOHERENT ++ select IRQ_CPU ++ select CEVT_R4K ++ select CSRC_R4K ++ select SYS_HAS_CPU_MIPS32_R1 ++ select SYS_HAS_CPU_MIPS32_R2 ++ select HAVE_STD_PC_SERIAL_PORT ++ select SYS_SUPPORTS_BIG_ENDIAN ++ select SYS_SUPPORTS_32BIT_KERNEL ++ select SYS_HAS_EARLY_PRINTK ++ select HW_HAS_PCI ++ + config MIPS_COBALT + bool "Cobalt Server" + select CEVT_R4K +@@ -633,6 +648,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD + + endchoice + ++source "arch/mips/amazon/Kconfig" + source "arch/mips/alchemy/Kconfig" + source "arch/mips/basler/excite/Kconfig" + source "arch/mips/jazz/Kconfig" +--- a/arch/mips/Makefile ++++ b/arch/mips/Makefile +@@ -283,6 +283,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips + load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000 + + # ++# Infineon AMAZON ++# ++core-$(CONFIG_AMAZON) += arch/mips/amazon/ ++cflags-$(CONFIG_AMAZON) += -I$(srctree)/arch/mips/include/asm/mach-amazon ++load-$(CONFIG_AMAZON) += 0xffffffff80002000 ++ ++# + # Cobalt Server + # + core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/ |