MLK-18654-3 spl: Un-define the DM USB for SPL
authorYe Li <ye.li@nxp.com>
Fri, 22 Jun 2018 02:32:33 +0000 (19:32 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:33:58 +0000 (02:33 -0700)
Since we don't support DM in SPL, undefine the DM USB in SPL build,
so it can use non-DM USB driver.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 1e02825ab852f31111b875af9b84f82a974df64c)

include/config_uncmd_spl.h
scripts/Makefile.uncmd_spl

index c2f9735..e760200 100644 (file)
@@ -15,6 +15,7 @@
 #undef CONFIG_DM_GPIO
 #undef CONFIG_DM_I2C
 #undef CONFIG_DM_SPI
+#undef CONFIG_DM_USB
 #endif
 
 #undef CONFIG_DM_WARN
index ba267d9..3bdf81c 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_DM_GPIO=
 CONFIG_DM_I2C=
 CONFIG_DM_SPI=
 CONFIG_DM_SPI_FLASH=
+CONFIG_DM_USB=
 endif
 
 endif