summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/Kconfig4
-rw-r--r--arch/mips/Makefile2
-rw-r--r--arch/mips/mach-loongson/Kconfig7
3 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ca240d2f57..8cea076d4a 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -63,6 +63,9 @@ config MACH_MIPS_BCM47XX
select SYS_SUPPORTS_LITTLE_ENDIAN
select HAS_DEBUG_LL
+config MACH_MIPS_LOONGSON
+ bool "Loongson-based boards"
+
config MACH_MIPS_XBURST
bool "Ingenic XBurst-based boards"
select SYS_HAS_CPU_MIPS32_R1
@@ -78,6 +81,7 @@ endchoice
source arch/mips/mach-malta/Kconfig
source arch/mips/mach-ar231x/Kconfig
source arch/mips/mach-bcm47xx/Kconfig
+source arch/mips/mach-loongson/Kconfig
source arch/mips/mach-xburst/Kconfig
endmenu
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 62e1acf658..7a6d6c093c 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -78,6 +78,8 @@ board-$(CONFIG_BOARD_NETGEAR_WG102) := netgear-wg102
machine-$(CONFIG_MACH_MIPS_BCM47XX) := bcm47xx
board-$(CONFIG_BOARD_DLINK_DIR320) := dlink-dir-320
+machine-$(CONFIG_MACH_MIPS_LOONGSON) := loongson
+
machine-$(CONFIG_MACH_MIPS_XBURST) := xburst
board-$(CONFIG_BOARD_RZX50) := rzx50
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
new file mode 100644
index 0000000000..b5942886a3
--- /dev/null
+++ b/arch/mips/mach-loongson/Kconfig
@@ -0,0 +1,7 @@
+if MACH_MIPS_LOONGSON
+
+config ARCH_TEXT_BASE
+ hex
+ default 0xa0800000
+
+endif