summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-01-03 08:52:03 +0800
committerStefano Babic <sbabic@denx.de>2018-01-12 14:28:04 +0100
commita3cc43551f8f1cab156d02a44999c07a7261fd14 (patch)
tree1e8e00bde14fbbc1241286e9aa667d7a4fea024d /include/configs
parentafe8e1b03362f169b2f905d20e2b352aca9d522e (diff)
imx: mx6ull-14x14-evk: enable DM QSPI driver
To support QSPI DM driver - Add spi0 alias for qspi node. Which is used for bus number 0. - Modify the n25q256a@0 compatible property to "spi-flash". - Modify spi4 (gpio_spi) node to spi5 - Define DM SPI/QSPI related config to enable QSPI Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6ullevk.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h
index 8787df4907..6a48742fd0 100644
--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -164,4 +164,14 @@
#define CONFIG_SOFT_SPI
+#ifdef CONFIG_FSL_QSPI
+#define CONFIG_SYS_FSL_QSPI_AHB
+#define CONFIG_SF_DEFAULT_BUS 0
+#define CONFIG_SF_DEFAULT_CS 0
+#define CONFIG_SF_DEFAULT_SPEED 40000000
+#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
+#define FSL_QSPI_FLASH_NUM 1
+#define FSL_QSPI_FLASH_SIZE SZ_32M
+#endif
+
#endif