Browse Source

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 1e02825ab8)
master
Ye Li 2 years ago
committed by Troy Kisky
parent
commit
8c899bdeba
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      include/config_uncmd_spl.h
  2. +1
    -0
      scripts/Makefile.uncmd_spl

+ 1
- 0
include/config_uncmd_spl.h View 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


+ 1
- 0
scripts/Makefile.uncmd_spl View File

@@ -10,6 +10,7 @@ CONFIG_DM_GPIO=
CONFIG_DM_I2C=
CONFIG_DM_SPI=
CONFIG_DM_SPI_FLASH=
CONFIG_DM_USB=
endif

endif

Loading…
Cancel
Save