summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSantan Kumar <santan.kumar@nxp.com>2017-08-18 15:20:32 +0530
committerYork Sun <york.sun@nxp.com>2017-09-22 12:41:54 -0700
commit77dc01bdc155a133871c0965ff7d012cac2c3a53 (patch)
tree6857f9ab74017009cd3b93e9cdb9ad4c74062e5f /include
parent32999fa5d6e8d7dd1542eae39d56837b5b5066b4 (diff)
board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s
As per updated board design, different QSPI flash is connected on boards, hence change QSPI flash type from Micron n25q512a device to spansion s25fs512s device in dts and config. Signed-off-by: Santan Kumar <santan.kumar@nxp.com> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls2080ardb.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index e301228335..8a89375a57 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -288,19 +288,15 @@ unsigned long get_board_sys_clk(void);
/* SPI */
#if defined(CONFIG_FSL_QSPI) || defined(CONFIG_FSL_DSPI)
#define CONFIG_SPI_FLASH
-#ifdef CONFIG_FSL_QSPI
+#ifdef CONFIG_FSL_DSPI
#define CONFIG_SPI_FLASH_STMICRO
#endif
#ifdef CONFIG_FSL_QSPI
-#ifdef CONFIG_TARGET_LS2081ARDB
-#define CONFIG_SPI_FLASH_STMICRO
-#else
#define CONFIG_SPI_FLASH_SPANSION
#endif
#define FSL_QSPI_FLASH_SIZE SZ_64M /* 64MB */
#define FSL_QSPI_FLASH_NUM 2
#endif
-#endif
/*
* RTC configuration