Commit 6847f1d25b9a8cf8d9116d1f98da3f577fe02717

Authored by Ye Li
1 parent 2fb7a8a443

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 <ye.li@nxp.com>
(cherry picked from commit 1e02825ab852f31111b875af9b84f82a974df64c)
(cherry picked from commit 62efea1e99a02fc282d0a22c36fddb1b14a09612)

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

include/config_uncmd_spl.h
... ... @@ -14,6 +14,7 @@
14 14 #undef CONFIG_DM_SERIAL
15 15 #undef CONFIG_DM_I2C
16 16 #undef CONFIG_DM_SPI
  17 +#undef CONFIG_DM_USB
17 18 #endif
18 19  
19 20 #undef CONFIG_DM_WARN
scripts/Makefile.uncmd_spl
... ... @@ -9,6 +9,7 @@
9 9 CONFIG_DM_I2C=
10 10 CONFIG_DM_SPI=
11 11 CONFIG_DM_SPI_FLASH=
  12 +CONFIG_DM_USB=
12 13 endif
13 14  
14 15 endif