am43xx_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:47 +0000 (20:39 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:28 +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: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
include/configs/am43xx_evm.h

index aac550a477af5f13598d41463b2affe1a55c897f..de7538fc9e6d9ff74a7d0a790a8e81063a6788fb 100644 (file)
  */
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
 #endif
 
 #ifndef CONFIG_SPL_BUILD