diff options
author | Nylon Chen <nylon7@andestech.com> | 2019-04-16 15:25:42 +0800 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-04-17 09:03:37 +0200 |
commit | 1ad1d3d5cff33d4d28775450a5368148ccfedaa2 (patch) | |
tree | 82142fad4fae676746fa93fd365a3da73b59b4d5 /arch | |
parent | ed36d20daa71f3d988b13d8e4d96bead20abf866 (diff) |
arch: add support for Andes 32-bit (nds32)
This commit provides basic support for the Andes 32-bit (nds32)
architecture.
Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Config.in | 12 | ||||
-rw-r--r-- | arch/Config.in.nds32 | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/Config.in b/arch/Config.in index f50760a0cf..d82803c828 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -154,6 +154,14 @@ config BR2_mips64el http://www.mips.com/ http://en.wikipedia.org/wiki/MIPS_Technologies +config BR2_nds32 + bool "nds32" + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + select BR2_ARCH_HAS_MMU_MANDATORY + help + nds32 is a 32-bit architecture developed by Andes Technology. + https://en.wikipedia.org/wiki/Andes_Technology + config BR2_nios2 bool "Nios II" select BR2_ARCH_HAS_MMU_MANDATORY @@ -419,6 +427,10 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el source "arch/Config.in.mips" endif +if BR2_nds32 +source "arch/Config.in.nds32" +endif + if BR2_nios2 source "arch/Config.in.nios2" endif diff --git a/arch/Config.in.nds32 b/arch/Config.in.nds32 new file mode 100644 index 0000000000..9c5db20e6f --- /dev/null +++ b/arch/Config.in.nds32 @@ -0,0 +1,11 @@ +config BR2_ARCH + default "nds32" + +config BR2_GCC_TARGET_ARCH + default "v3" + +config BR2_ENDIAN + default "LITTLE" + +config BR2_READELF_ARCH_NAME + default "Andes Technology compact code size embedded RISC processor family" |