summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2014-10-15 03:40:52 +0200
committermattis fjallstrom <mattis@acm.org>2014-10-15 03:40:52 +0200
commit95a5724b19c0c1281a7f72ad1812079a53a52dbc (patch)
tree100f5fe1d385b5cd012cc1f4db0bf6aa46ffc30c /spl
parenta252a3577da19fb129333c4adc07fd473d10f289 (diff)
downloadolio-uboot-2014.01-95a5724b19c0c1281a7f72ad1812079a53a52dbc.tar.xz
olio-uboot-2014.01-95a5724b19c0c1281a7f72ad1812079a53a52dbc.zip
Adding memtest and build-time flag for SPL serial boot
Change-Id: Iaf14e63498c3cdca4e2125b8217195b90caf842b
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 5e5472d97..f94931102 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -22,6 +22,12 @@ export CONFIG_TPL_BUILD
SPL_BIN := u-boot-tpl
else
SPL_BIN := u-boot-spl
+# SPL_BIN_UART := u-boot-spl-uart TODO - build NAND and UART at once.
+endif
+
+ifdef BOOT_DEVICE_UART
+CONFIG_SPL_BOOT_DEVICE=uart
+export CONFIG_SPL_BOOT_DEVICE
endif
include $(TOPDIR)/config.mk