From 62efea1e99a02fc282d0a22c36fddb1b14a09612 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Thu, 21 Jun 2018 19:32:33 -0700 Subject: [PATCH] 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) --- include/config_uncmd_spl.h | 1 + scripts/Makefile.uncmd_spl | 1 + 2 files changed, 2 insertions(+) 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 -- 2.17.1