aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/scripts/Makefile.uncmd_spl
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/scripts/Makefile.uncmd_spl')
-rw-r--r--roms/u-boot/scripts/Makefile.uncmd_spl14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/u-boot/scripts/Makefile.uncmd_spl b/roms/u-boot/scripts/Makefile.uncmd_spl
new file mode 100644
index 000000000..6ea097d36
--- /dev/null
+++ b/roms/u-boot/scripts/Makefile.uncmd_spl
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0+
+# Makefile version of include/config_uncmd_spl.h
+# TODO: Invent a better way
+
+ifdef CONFIG_SPL_BUILD
+
+ifndef CONFIG_SPL_DM
+CONFIG_DM_SERIAL=
+CONFIG_DM_I2C=
+CONFIG_DM_SPI=
+CONFIG_DM_SPI_FLASH=
+endif
+
+endif