summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'spl/Makefile')
-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