From: Mugunthan V N Date: Wed, 23 Dec 2015 15:09:38 +0000 (+0530) Subject: dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7af6725d36db21ae1c2df737fae11c60931678d;p=people%2Fms%2Fu-boot.git 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 Reviewed-by: Jagan Teki --- diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 81070b1fd0..9d62421050 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -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)