diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-25 12:57:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-25 12:57:33 +0000 |
commit | e1a582c1ce36074d9e481afe66c88a8c7d7a8376 (patch) | |
tree | 2a4d205fd4cde0b74a467cf30081e0ab4c627ba9 /target/linux/adm5120/patches-3.3/001-adm5120.patch | |
parent | 0965fa8af6cd23a5871b3b12053a97c559f97d18 (diff) | |
download | master-187ad058-e1a582c1ce36074d9e481afe66c88a8c7d7a8376.tar.gz master-187ad058-e1a582c1ce36074d9e481afe66c88a8c7d7a8376.tar.bz2 master-187ad058-e1a582c1ce36074d9e481afe66c88a8c7d7a8376.zip |
adm5120: add 3.3 support
Partially based on the 3.1 patches by Hartmut Knaack <knaack.h [at] gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31474 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-3.3/001-adm5120.patch')
-rw-r--r-- | target/linux/adm5120/patches-3.3/001-adm5120.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-3.3/001-adm5120.patch b/target/linux/adm5120/patches-3.3/001-adm5120.patch new file mode 100644 index 0000000000..edb3979b7d --- /dev/null +++ b/target/linux/adm5120/patches-3.3/001-adm5120.patch @@ -0,0 +1,43 @@ +--- a/arch/mips/Kconfig ++++ b/arch/mips/Kconfig +@@ -39,6 +39,23 @@ choice + prompt "System type" + default SGI_IP22 + ++config ADM5120 ++ bool "Infineon/ADMtek ADM5120 SoC based machines" ++ select BOOT_RAW ++ select NO_EXCEPT_FILL ++ select CEVT_R4K ++ select CSRC_R4K ++ select SYS_HAS_CPU_MIPS32_R1 ++ select SYS_HAS_EARLY_PRINTK ++ select DMA_NONCOHERENT ++ select IRQ_CPU ++ select SYS_SUPPORTS_LITTLE_ENDIAN ++ select SYS_SUPPORTS_BIG_ENDIAN ++ select SYS_SUPPORTS_32BIT_KERNEL ++ select ARCH_REQUIRE_GPIOLIB ++ select SWAP_IO_SPACE if CPU_BIG_ENDIAN ++ select MIPS_MACHINE ++ + config MIPS_ALCHEMY + bool "Alchemy processor based machines" + select 64BIT_PHYS_ADDR +@@ -813,6 +830,7 @@ config NLM_XLP_BOARD + + endchoice + ++source "arch/mips/adm5120/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 +@@ -1,5 +1,6 @@ + # All platforms listed in alphabetic order + ++platforms += adm5120 + platforms += alchemy + platforms += ar7 + platforms += ath79 |