mcx: add Ethernet over USB
[oweals/u-boot.git] / scripts / Makefile.uncmd_spl
index 343c3fc199329ff5146dbc424253537cf3cf2c9f..4f056525bb0692b78577ac35dfa2c96f221c6540 100644 (file)
@@ -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=