From: Ye Li Date: Fri, 22 Jun 2018 02:32:33 +0000 (-0700) Subject: MLK-18654-3 spl: Un-define the DM USB for SPL X-Git-Tag: rel_imx_4.19.35_1.1.0~690 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=62efea1e99a02fc282d0a22c36fddb1b14a09612;p=u-boot.git MLK-18654-3 spl: Un-define the DM USB for SPL 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 (cherry picked from commit 1e02825ab852f31111b875af9b84f82a974df64c) --- diff --git a/include/config_uncmd_spl.h b/include/config_uncmd_spl.h index c2f9735ce7..e760200105 100644 --- a/include/config_uncmd_spl.h +++ b/include/config_uncmd_spl.h @@ -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 diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl index ba267d9ac6..3bdf81c0e0 100644 --- a/scripts/Makefile.uncmd_spl +++ b/scripts/Makefile.uncmd_spl @@ -10,6 +10,7 @@ CONFIG_DM_GPIO= CONFIG_DM_I2C= CONFIG_DM_SPI= CONFIG_DM_SPI_FLASH= +CONFIG_DM_USB= endif endif