From 1e02825ab852f31111b875af9b84f82a974df64c 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 --- 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 3c1499c6fb..71766db689 100644 --- a/include/config_uncmd_spl.h +++ b/include/config_uncmd_spl.h @@ -16,6 +16,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 b3994110dc..955e2a16f0 100644 --- a/scripts/Makefile.uncmd_spl +++ b/scripts/Makefile.uncmd_spl @@ -12,6 +12,7 @@ CONFIG_DM_GPIO= CONFIG_DM_I2C= CONFIG_DM_SPI= CONFIG_DM_SPI_FLASH= +CONFIG_DM_USB= endif endif