mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
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: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
This commit is contained in:
parent
f8e2f92d41
commit
e7af6725d3
1 changed files with 5 additions and 0 deletions
|
@ -142,6 +142,11 @@
|
|||
#define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3
|
||||
#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.
|
||||
* 0x000000 - 0x010000 : QSPI.SPL (64KiB)
|
||||
|
|
Loading…
Reference in a new issue