summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/patches-2.6.38/001-adm5120.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/adm5120/patches-2.6.38/001-adm5120.patch')
-rw-r--r--target/linux/adm5120/patches-2.6.38/001-adm5120.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-2.6.38/001-adm5120.patch b/target/linux/adm5120/patches-2.6.38/001-adm5120.patch
new file mode 100644
index 0000000..b4ea18a
--- /dev/null
+++ b/target/linux/adm5120/patches-2.6.38/001-adm5120.patch
@@ -0,0 +1,32 @@
+--- a/arch/mips/Kconfig
++++ b/arch/mips/Kconfig
+@@ -33,6 +33,21 @@ choice
+ prompt "System type"
+ default SGI_IP22
+
++config ADM5120
++ bool "Infineon/ADMtek ADM5120 SoC based machines"
++ 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
+@@ -737,6 +752,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
+
+ endchoice
+
++source "arch/mips/adm5120/Kconfig"
+ source "arch/mips/alchemy/Kconfig"
+ source "arch/mips/ath79/Kconfig"
+ source "arch/mips/bcm63xx/Kconfig"