aboutsummaryrefslogtreecommitdiff
path: root/default-configs
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2019-04-03 13:53:04 -0600
committerPeter Maydell <peter.maydell@linaro.org>2019-04-29 16:09:51 +0100
commited960ba90549aca1735df128c6b454fe0a5dec2a (patch)
tree81e1d2d2d976da1d78cbd09fba18bdd3dbd7d57f /default-configs
parente0fb2c3d89aa77057ac4aa073e01f4ca484449b0 (diff)
Add generic Nios II board.
This patch adds support for a generic MMU-less Nios II board that can be used e.g. for bare-metal compiler testing with the linker script and startup code provided by libgloss. Nios II booting is also tweaked so that bare-metal binaries start executing in RAM starting at 0x00000000, rather than an alias at 0xc0000000, which allows features such as unwinding to work when binaries are linked to start at the beginning of the address space. The generic_nommu.c parts are based on code by Andrew Jenner, which was in turn based on code by Marek Vasut. Originally by Marek Vasut and Andrew Jenner. Signed-off-by: Sandra Loosemore <sandra@codesourcery.com> Signed-off-by: Julian Brown <julian@codesourcery.com> Signed-off-by: Andrew Jenner <andrew@codesourcery.com> Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1554321185-2825-2-git-send-email-sandra@codesourcery.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'default-configs')
-rw-r--r--default-configs/nios2-softmmu.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/default-configs/nios2-softmmu.mak b/default-configs/nios2-softmmu.mak
index e11dc54960..e130d024e6 100644
--- a/default-configs/nios2-softmmu.mak
+++ b/default-configs/nios2-softmmu.mak
@@ -3,3 +3,4 @@
# Boards:
#
CONFIG_NIOS2_10M50=y
+CONFIG_NIOS2_GENERIC_NOMMU=y