aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>2013-08-29 19:10:40 -0300
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-02 21:38:45 +0200
commit830205c0361c751c39fabeb1366100e2a94a27a4 (patch)
tree3ef659331890835a6d58d7901239b3b4d0013b77 /arch
parent4ee8047024d7edf4500eda57327d793c3f55bdd6 (diff)
downloadbuildroot-830205c0361c751c39fabeb1366100e2a94a27a4.tar.gz
buildroot-830205c0361c751c39fabeb1366100e2a94a27a4.tar.bz2
nios2: Add new architecture
This commit adds very basic support to build for the Nios II architecture. Toolchain support is still missing and instead we need to use an external custom toolchain. Notice that this architecture had been previously removed in Buildroot 2010.05-rc1 release (as explained in the CHANGES file) and this commit adds it back. Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in11
-rw-r--r--arch/Config.in.nios25
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/Config.in b/arch/Config.in
index 0b5b2187bc..14899ca068 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -124,6 +124,13 @@ config BR2_mips64el
http://www.mips.com/
http://en.wikipedia.org/wiki/MIPS_Technologies
+config BR2_nios2
+ bool "Nios II"
+ help
+ Nios II is a soft core processor from Altera Corporation.
+ http://www.altera.com/
+ http://en.wikipedia.org/wiki/Nios_II
+
config BR2_powerpc
bool "PowerPC"
help
@@ -305,6 +312,10 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
source "arch/Config.in.mips"
endif
+if BR2_nios2
+source "arch/Config.in.nios2"
+endif
+
if BR2_powerpc
source "arch/Config.in.powerpc"
endif
diff --git a/arch/Config.in.nios2 b/arch/Config.in.nios2
new file mode 100644
index 0000000000..ed638981aa
--- /dev/null
+++ b/arch/Config.in.nios2
@@ -0,0 +1,5 @@
+config BR2_ARCH
+ default "nios2"
+
+config BR2_ENDIAN
+ default "LITTLE"