diff mbox

[U-Boot,v6,14/16] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

Message ID 1450882983-31859-15-git-send-email-mugunthanvnm@ti.com
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Mugunthan V N Dec. 23, 2015, 3:03 p.m. UTC
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>
---
 include/configs/am43xx_evm.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index aac550a..de7538f 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -142,6 +142,8 @@ 
  */
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
 #endif
 
 #ifndef CONFIG_SPL_BUILD