summaryrefslogtreecommitdiff
path: root/target/linux/amazon/patches-3.3/100-board.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-05-13 15:10:40 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-05-13 15:10:40 +0000
commitabd74f86b459f4ac684de4a0f1bf6552d14b105a (patch)
tree5e6a8d954a21071671d2dc346bc97c6bb0d8ec3c /target/linux/amazon/patches-3.3/100-board.patch
parent2803206c500fd09cbcb926e9cba7b19b5ae0d9f2 (diff)
downloadmtk-20170518-abd74f86b459f4ac684de4a0f1bf6552d14b105a.zip
mtk-20170518-abd74f86b459f4ac684de4a0f1bf6552d14b105a.tar.gz
mtk-20170518-abd74f86b459f4ac684de4a0f1bf6552d14b105a.tar.bz2
amazon: update amazon target to kernel 3.3
This is just compile tested, my device is currently not working. SVN-Revision: 31706
Diffstat (limited to 'target/linux/amazon/patches-3.3/100-board.patch')
-rw-r--r--target/linux/amazon/patches-3.3/100-board.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/target/linux/amazon/patches-3.3/100-board.patch b/target/linux/amazon/patches-3.3/100-board.patch
new file mode 100644
index 0000000..b743052
--- /dev/null
+++ b/target/linux/amazon/patches-3.3/100-board.patch
@@ -0,0 +1,53 @@
+--- a/arch/mips/Kconfig
++++ b/arch/mips/Kconfig
+@@ -120,6 +120,22 @@ config BCM63XX
+ help
+ Support for BCM63XX 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
++ select SWAP_IO_SPACE
++
+ config MIPS_COBALT
+ bool "Cobalt Server"
+ select CEVT_R4K
+@@ -813,6 +829,7 @@ config NLM_XLP_BOARD
+
+ endchoice
+
++source "arch/mips/amazon/Kconfig"
+ source "arch/mips/alchemy/Kconfig"
+ source "arch/mips/ath79/Kconfig"
+ source "arch/mips/bcm47xx/Kconfig"
+--- a/arch/mips/Kbuild.platforms
++++ b/arch/mips/Kbuild.platforms
+@@ -6,6 +6,7 @@ platforms += ath79
+ platforms += bcm47xx
+ platforms += bcm63xx
+ platforms += cavium-octeon
++platforms += amazon
+ platforms += cobalt
+ platforms += dec
+ platforms += emma
+--- /dev/null
++++ b/arch/mips/amazon/Platform
+@@ -0,0 +1,7 @@
++#
++# Infineon AMAZON boards
++#
++platform-$(CONFIG_AMAZON) += amazon/
++cflags-$(CONFIG_AMAZON) += \
++ -I$(srctree)/arch/mips/include/asm/mach-amazon
++load-$(CONFIG_AMAZON) := 0xffffffff80002000