summaryrefslogtreecommitdiff
path: root/lib_nios2
diff options
context:
space:
mode:
Diffstat (limited to 'lib_nios2')
-rw-r--r--lib_nios2/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_nios2/config.mk b/lib_nios2/config.mk
index 59931c2..34ee697 100644
--- a/lib_nios2/config.mk
+++ b/lib_nios2/config.mk
@@ -24,5 +24,7 @@
CROSS_COMPILE ?= nios2-elf-
+STANDALONE_LOAD_ADDR = 0x02000000 -L $(gcclibdir) -T nios2.lds
+
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
PLATFORM_CPPFLAGS += -ffixed-r15 -G0