summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYao Yuan <yao.yuan@freescale.com>2015-09-15 18:28:20 +0800
committerJagan Teki <jteki@openedev.com>2015-10-11 16:43:06 +0530
commit03d1d568a04b3d67e0f09b598554c2b74e31224f (patch)
treeae1f9ae92d0d22f0c2a1626c97657901e68e8ce5 /include
parentf2b76c6037f8d2f54e938f42ad9ef01488c11425 (diff)
downloadtalos-obmc-uboot-03d1d568a04b3d67e0f09b598554c2b74e31224f.tar.gz
talos-obmc-uboot-03d1d568a04b3d67e0f09b598554c2b74e31224f.zip
configs: ls1021atwr: Enable DSPI for LS1021ATWR
DSPI2 can be verified when boot from QSPI now. Signed-off-by: Yuan Yao <yao.yuan@freescale.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1021atwr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index f6bd5fcece..02cc09c82b 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -310,12 +310,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
OpenPOWER on IntegriCloud