summaryrefslogtreecommitdiff
path: root/include/configs/mx6q_arm2.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-11-01 15:07:04 +0800
committerTerry Lv <r65388@freescale.com>2011-11-01 15:08:46 +0800
commitc1c2931c8e4b41e949fc1e77999b41c32f26da7b (patch)
treea34e5d470e5c741e554655802c9eb37db6e6ae3a /include/configs/mx6q_arm2.h
parent10bff02ace00c37a31d6842376f96e0cda6889c8 (diff)
downloadu-boot-imx-c1c2931c8e4b41e949fc1e77999b41c32f26da7b.zip
u-boot-imx-c1c2931c8e4b41e949fc1e77999b41c32f26da7b.tar.gz
u-boot-imx-c1c2931c8e4b41e949fc1e77999b41c32f26da7b.tar.bz2
ENGR00161133: Add spi-nor support for mx6q
Add spi-nor support for mx6q. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx6q_arm2.h')
-rw-r--r--include/configs/mx6q_arm2.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/configs/mx6q_arm2.h b/include/configs/mx6q_arm2.h
index a531cb8..165d13a 100644
--- a/include/configs/mx6q_arm2.h
+++ b/include/configs/mx6q_arm2.h
@@ -88,10 +88,11 @@
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_DNS
+#define CONFIG_CMD_SPI
#define CONFIG_CMD_I2C
/* Enable below configure when supporting nand */
-
+#define CONFIG_CMD_SF
#define CONFIG_CMD_MMC
#define CONFIG_CMD_ENV
@@ -179,6 +180,18 @@
#endif
/*
+ * SPI Configs
+ */
+#ifdef CONFIG_CMD_SF
+ #define CONFIG_FSL_SF 1
+ #define CONFIG_SPI_FLASH_IMX_M25PXX 1
+ #define CONFIG_SPI_FLASH_CS 1
+ #define CONFIG_IMX_ECSPI
+ #define IMX_CSPI_VER_2_3 1
+ #define MAX_SPI_BYTES (64 * 4)
+#endif
+
+/*
* MMC Configs
*/
#ifdef CONFIG_CMD_MMC