summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-12-23 20:39:38 +0530
committerJagan Teki <jteki@openedev.com>2016-01-13 18:47:27 +0530
commite7af6725d36db21ae1c2df737fae11c60931678d (patch)
tree2bdc5067082cabbd3551084600f6d26ee682c4d4
parentf8e2f92d41f1ddbb14174c47deb4d0fce87a1fc0 (diff)
downloadu-boot-imx-e7af6725d36db21ae1c2df737fae11c60931678d.zip
u-boot-imx-e7af6725d36db21ae1c2df737fae11c60931678d.tar.gz
u-boot-imx-e7af6725d36db21ae1c2df737fae11c60931678d.tar.bz2
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>
-rw-r--r--include/configs/dra7xx_evm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 81070b1..9d62421 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)