Loongson (simplified Chinese: 龙芯; pinyin: Lóngxīn; literally: "Dragon Core") is a family of general-purpose MIPS CPUs developed at the Institute of Computing Technology (ICT), Chinese Academy of Sciences (CAS) in the People's Republic of China. See http://en.wikipedia.org/wiki/Loongson for details. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/Kconfig | 4 ++++ arch/mips/Makefile | 2 ++ arch/mips/mach-loongson/Kconfig | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 arch/mips/mach-loongson/Kconfig diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index ca240d2..8cea076 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 62e1acf..7a6d6c0 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 0000000..b594288 --- /dev/null +++ b/arch/mips/mach-loongson/Kconfig @@ -0,0 +1,7 @@ +if MACH_MIPS_LOONGSON + +config ARCH_TEXT_BASE + hex + default 0xa0800000 + +endif -- 1.8.5.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox