]> git.baikalelectronics.ru Git - uboot.git/commitdiff
dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 23 Dec 2015 15:09:38 +0000 (20:39 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:27 +0000 (18:47 +0530)
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>
include/configs/dra7xx_evm.h

index 81070b1fd0d26e74e425d6d24d7537c207510018..9d6242105011221d36941665f0b666664aaa4f90 100644 (file)
 #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)