9
0
Fork 0

MIPS: add initial Loongson-based boards support

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@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2014-01-18 19:12:51 +04:00 committed by Sascha Hauer
parent d9a08d8bc5
commit a3528064bc
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,7 @@
if MACH_MIPS_LOONGSON
config ARCH_TEXT_BASE
hex
default 0xa0800000
endif