summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2011-08-05 14:58:36 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-05 18:20:17 +0200
commitde754b69e478703af5e1d0b2336fe148030f602b (patch)
tree73c34ac8ab2faed3a997eb3cd9b224bddbd8622b /arch/mips/Kconfig
parent645d26aca3348c8e0fd3c764ce17dab29bd22584 (diff)
downloadbarebox-de754b69e478703af5e1d0b2336fe148030f602b.tar.gz
barebox-de754b69e478703af5e1d0b2336fe148030f602b.tar.xz
MIPS: add Malta machine support to barebox
The machine uses only big-endian mode. Only supported peripheral is serial port. The machine supports only MIPS32 CPUs. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b6d2c5eca6..a84d4691dc 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -21,6 +21,28 @@ config GENERIC_LINKER_SCRIPT
bool
default y
+menu "Machine selection"
+
+choice
+ prompt "System type"
+ default MACH_MIPS_MALTA
+
+config MACH_MIPS_MALTA
+ bool "MIPS Malta"
+ select CSRC_R4K_LIB
+ select DRIVER_SERIAL_NS16550
+ select SYS_HAS_CPU_MIPS32_R1
+ select SYS_HAS_CPU_MIPS32_R2
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_BIG_ENDIAN
+ select HAS_DEBUG_LL
+
+endchoice
+
+source arch/mips/mach-malta/Kconfig
+
+endmenu
+
#
# Endianess selection. Sufficiently obscure so many users don't know what to
# answer,so we try hard to limit the available choices. Also the use of a