Skip to content
Snippets Groups Projects
Commit e7af6725 authored by Mugunthan V N's avatar Mugunthan V N Committed by Jagan Teki
Browse files

dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl


Since OMAP's spl doesn't support DM currently, do not define DM_SPI and
DM_SPI_FLASH for spl build.

Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>
parent f8e2f92d
No related branches found
No related tags found
No related merge requests found
...@@ -142,6 +142,11 @@ ...@@ -142,6 +142,11 @@
#define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3 #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3
#define CONFIG_QSPI_QUAD_SUPPORT #define CONFIG_QSPI_QUAD_SUPPORT
#ifdef CONFIG_SPL_BUILD
#undef CONFIG_DM_SPI
#undef CONFIG_DM_SPI_FLASH
#endif
/* /*
* Default to using SPI for environment, etc. * Default to using SPI for environment, etc.
* 0x000000 - 0x010000 : QSPI.SPL (64KiB) * 0x000000 - 0x010000 : QSPI.SPL (64KiB)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment