summaryrefslogtreecommitdiff
path: root/scripts/Makefile.uncmd_spl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.uncmd_spl')
-rw-r--r--scripts/Makefile.uncmd_spl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl
index 343c3fc199..4f056525bb 100644
--- a/scripts/Makefile.uncmd_spl
+++ b/scripts/Makefile.uncmd_spl
@@ -3,7 +3,9 @@
# TODO: Invent a better way
ifdef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_DISABLE_OF_CONTROL
CONFIG_OF_CONTROL=
+endif
ifndef CONFIG_SPL_DM
CONFIG_DM_SERIAL=