diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-02-09 13:45:01 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-03-09 01:40:20 +0100 |
commit | 7d773ef40e7e98fd45d31ce1842460045d0ca3f9 (patch) | |
tree | 9cd564dc522b59e19132af8240b07ac8a9f1ebbf /scripts | |
parent | 96e3a8826f45b200972e92184413963370dffc08 (diff) |
spl: dm: Undefine DM_MMC, DM_MMC_OPS and BLK, if SPL_DM is not defined
CONFIG_DM_MMC, CONFIG_DM_MMC_OPS and CONFIG_BLK depend on CONFIG_DM (CONFIG_SPL_DM);
if either is enabled, but CONFIG_SPL_DM is disabled, we also need to undef them.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.uncmd_spl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl index 15d0836b49..99b9deefcd 100644 --- a/scripts/Makefile.uncmd_spl +++ b/scripts/Makefile.uncmd_spl @@ -12,6 +12,10 @@ CONFIG_DM_GPIO= CONIFG_DM_I2C= CONFIG_DM_SPI= CONFIG_DM_SPI_FLASH= +CONFIG_DM_MMC= +CONFIG_DM_MMC_OPS= +# CONFIG_BLK also depends on CONFIG_DM +CONFIG_BLK= endif endif |