aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/Kconfig
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-08-30 19:15:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-08-30 19:15:51 +0000
commit425a717aaa3688613ff5d3f5e7c67ec928dae5b0 (patch)
tree36b5045e64065dcb96b8da4d93ffe20fc286a711 /target/linux/ramips/files/arch/mips/ralink/Kconfig
parentd28bd2e3db2e17e92650faedd0dc2eb1a1fd3348 (diff)
downloadmaster-187ad058-425a717aaa3688613ff5d3f5e7c67ec928dae5b0.tar.gz
master-187ad058-425a717aaa3688613ff5d3f5e7c67ec928dae5b0.tar.bz2
master-187ad058-425a717aaa3688613ff5d3f5e7c67ec928dae5b0.zip
[ramips] initial support for RT288x/RT305x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17439 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/Kconfig')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/Kconfig51
1 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/Kconfig b/target/linux/ramips/files/arch/mips/ralink/Kconfig
new file mode 100644
index 0000000000..e180eabd65
--- /dev/null
+++ b/target/linux/ramips/files/arch/mips/ralink/Kconfig
@@ -0,0 +1,51 @@
+if MIPS_RALINK
+
+choice
+ prompt "Ralink SoC selection"
+ default SOC_RT288X
+ help
+ Select Ralink MIPS SoC type.
+
+ config RALINK_RT288X
+ bool "RT288x"
+ select SOC_RT288X
+
+ config RALINK_RT305X
+ bool "RT305x"
+ select SOC_RT305X
+
+endchoice
+
+source "arch/mips/ralink/rt288x/Kconfig"
+source "arch/mips/ralink/rt305x/Kconfig"
+
+config SOC_RT288X
+ bool
+ select CEVT_R4K
+ select CSRC_R4K
+ select DMA_NONCOHERENT
+ select IRQ_CPU
+ select ARCH_REQUIRE_GPIOLIB
+ select SYS_HAS_CPU_MIPS32_R1
+ select SYS_HAS_CPU_MIPS32_R2
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_LITTLE_ENDIAN
+ select SYS_HAS_EARLY_PRINTK
+ select HW_HAS_PCI
+ select MIPS_MACHINE
+
+config SOC_RT305X
+ bool
+ select CEVT_R4K
+ select CSRC_R4K
+ select DMA_NONCOHERENT
+ select IRQ_CPU
+ select ARCH_REQUIRE_GPIOLIB
+ select SYS_HAS_CPU_MIPS32_R1
+ select SYS_HAS_CPU_MIPS32_R2
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_LITTLE_ENDIAN
+ select SYS_HAS_EARLY_PRINTK
+ select MIPS_MACHINE
+
+endif