]> git.sur5r.net Git - u-boot/blobdiff - include/config_uncmd_spl.h
usb: Drop device-model specific copy of usb_legacy_port_reset
[u-boot] / include / config_uncmd_spl.h
index 38cb0e8abac9378c375cb4162454b6cc6923b2c8..c191f5634e24888606d64638ced17c3a6218fc0a 100644 (file)
@@ -20,7 +20,9 @@
 #undef CONFIG_CMD_SNTP
 #undef CONFIG_CMD_TFTPPUT
 #undef CONFIG_CMD_TFTPSRV
+#ifdef CONFIG_SPL_DISABLE_OF_CONTROL
 #undef CONFIG_OF_CONTROL
+#endif
 
 #ifndef CONFIG_SPL_DM
 #undef CONFIG_DM_SERIAL