diff options
Diffstat (limited to 'include/configs/display5.h')
-rw-r--r-- | include/configs/display5.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/display5.h b/include/configs/display5.h index 6f19e55c70..bbcb5da7bb 100644 --- a/include/configs/display5.h +++ b/include/configs/display5.h @@ -35,8 +35,11 @@ * 0x1540000 - 0x1640000 : SPI.factory (1MiB) */ -#ifndef CONFIG_SPL_BUILD -#define CONFIG_SPI_FLASH_MTD +/* SPI Flash Configs */ +#if defined(CONFIG_SPL_BUILD) +#undef CONFIG_DM_SPI +#undef CONFIG_DM_SPI_FLASH +#undef CONFIG_SPI_FLASH_MTD #endif /* Below values are "dummy" - only to avoid build break */ |