summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d4-ek/ramtest
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-26 17:04:53 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-26 17:04:53 -0600
commita3f565dfc000efeb0c6f2bdde076f779e497662a (patch)
tree711848c8d2603f4355b0dea74e66aeae93950faa /nuttx/configs/sama5d4-ek/ramtest
parentd62316deff17fa72c22de913827051462437861f (diff)
downloadpx4-nuttx-a3f565dfc000efeb0c6f2bdde076f779e497662a.tar.gz
px4-nuttx-a3f565dfc000efeb0c6f2bdde076f779e497662a.tar.bz2
px4-nuttx-a3f565dfc000efeb0c6f2bdde076f779e497662a.zip
Setup the SAMA5D4-EK NSH configuration to use the DRAMBOOT loader by default
Diffstat (limited to 'nuttx/configs/sama5d4-ek/ramtest')
-rw-r--r--nuttx/configs/sama5d4-ek/ramtest/Make.defs6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/sama5d4-ek/ramtest/Make.defs b/nuttx/configs/sama5d4-ek/ramtest/Make.defs
index 023c81daa..14f179357 100644
--- a/nuttx/configs/sama5d4-ek/ramtest/Make.defs
+++ b/nuttx/configs/sama5d4-ek/ramtest/Make.defs
@@ -42,7 +42,11 @@ ifeq ($(CONFIG_SAMA5_BOOT_ISRAM),y)
endif
ifeq ($(CONFIG_SAMA5_BOOT_SDRAM),y)
- LDSCRIPT = ddram.ld
+ifeq ($(CONFIG_SAMA5D4EK_DRAM_BOOT),y)
+ LDSCRIPT = dramboot.ld
+else
+ LDSCRIPT = uboot.ld
+endif
endif
ifeq ($(WINTOOL),y)