[U-Boot] [PATCH 3/3] configs: ls1021atwr: Enable DSPI for LS1021ATWR
Yuan Yao
yao.yuan at freescale.com
Tue Sep 15 12:28:20 CEST 2015
DSPI2 can be verified when boot from QSPI now.
Signed-off-by: Yuan Yao <yao.yuan at freescale.com>
---
include/configs/ls1021atwr.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 7dcb719..a14277e 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -308,12 +308,16 @@
#define FSL_QSPI_FLASH_NUM 2
#define CONFIG_SPI_FLASH_STMICRO
+/* DSPI */
+#define CONFIG_FSL_DSPI
+#define CONFIG_SPI_FLASH_ATMEL
+#endif
+
/* DM SPI */
#if defined(CONFIG_FSL_DSPI) || defined(CONFIG_FSL_QSPI)
#define CONFIG_CMD_SF
#define CONFIG_DM_SPI_FLASH
#endif
-#endif
/*
* Video
--
2.1.0.27.g96db324
More information about the U-Boot
mailing list