summaryrefslogtreecommitdiffstats
path: root/arch/nios2/Kconfig
diff options
context:
space:
mode:
authorFranck JULLIEN <franck.jullien@gmail.com>2011-03-23 22:07:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-30 23:22:35 +0200
commitddd06e264a2f26381811d02d160f4aa708035ac3 (patch)
treeabec20ebbf4aff694895117e0631ec27b74fd45a /arch/nios2/Kconfig
parent4b4958dbb73e6fb553aaf91d539ff3e22bfe9e40 (diff)
downloadbarebox-ddd06e264a2f26381811d02d160f4aa708035ac3.tar.gz
barebox-ddd06e264a2f26381811d02d160f4aa708035ac3.tar.xz
Add Nios2 arch support to barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/Kconfig')
-rw-r--r--arch/nios2/Kconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
new file mode 100644
index 0000000000..b4b0429226
--- /dev/null
+++ b/arch/nios2/Kconfig
@@ -0,0 +1,39 @@
+config NIOS2
+ bool
+ select HAS_KALLSYMS
+ select HAS_MODULES
+ select HAVE_CONFIGURABLE_MEMORY_LAYOUT
+ default y
+
+config ARCH_TEXT_BASE
+ hex
+ default 0x00000000
+
+config BOARDINFO
+ default "Altera Generic Board" if GENERIC
+
+choice
+ prompt "Select your board"
+
+config GENERIC
+ bool "Generic "
+ select NIOS2
+
+
+endchoice
+
+menu "Board configuration "
+
+config EARLY_PRINTF
+ default n
+ bool "Enable early printf functions"
+
+endmenu
+
+source common/Kconfig
+source commands/Kconfig
+source net/Kconfig
+source drivers/Kconfig
+source fs/Kconfig
+source lib/Kconfig
+