aboutsummaryrefslogtreecommitdiff
path: root/hw/nios2/Makefile.objs
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 /hw/nios2/Makefile.objs
parente0fb2c3d89aa77057ac4aa073e01f4ca484449b0 (diff)
downloadqemu-ed960ba90549aca1735df128c6b454fe0a5dec2a.zip
qemu-ed960ba90549aca1735df128c6b454fe0a5dec2a.tar.gz
qemu-ed960ba90549aca1735df128c6b454fe0a5dec2a.tar.bz2
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 'hw/nios2/Makefile.objs')
-rw-r--r--hw/nios2/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/nios2/Makefile.objs b/hw/nios2/Makefile.objs
index 89a419a..3e01798 100644
--- a/hw/nios2/Makefile.objs
+++ b/hw/nios2/Makefile.objs
@@ -1,2 +1,3 @@
obj-y = boot.o cpu_pic.o
obj-$(CONFIG_NIOS2_10M50) += 10m50_devboard.o
+obj-$(CONFIG_NIOS2_GENERIC_NOMMU) += generic_nommu.o