提交 77dc01bd 编写于 作者: S Santan Kumar 提交者: York Sun

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: NSantan Kumar <santan.kumar@nxp.com>
Signed-off-by: NYogesh Gaur <yogeshnarayan.gaur@nxp.com>
Signed-off-by: NPriyanka Jain <priyanka.jain@nxp.com>
Reviewed-by: NYork Sun <york.sun@nxp.com>
上级 32999fa5
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
bus-num = <0>; bus-num = <0>;
status = "okay"; status = "okay";
qflash0: n25q512a@0 { qflash0: s25fs512s@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spi-flash"; compatible = "spi-flash";
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
reg = <0>; reg = <0>;
}; };
qflash1: n25q512a@1 { qflash1: s25fs512s@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spi-flash"; compatible = "spi-flash";
......
...@@ -288,19 +288,15 @@ unsigned long get_board_sys_clk(void); ...@@ -288,19 +288,15 @@ unsigned long get_board_sys_clk(void);
/* SPI */ /* SPI */
#if defined(CONFIG_FSL_QSPI) || defined(CONFIG_FSL_DSPI) #if defined(CONFIG_FSL_QSPI) || defined(CONFIG_FSL_DSPI)
#define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH
#ifdef CONFIG_FSL_QSPI #ifdef CONFIG_FSL_DSPI
#define CONFIG_SPI_FLASH_STMICRO #define CONFIG_SPI_FLASH_STMICRO
#endif #endif
#ifdef CONFIG_FSL_QSPI #ifdef CONFIG_FSL_QSPI
#ifdef CONFIG_TARGET_LS2081ARDB
#define CONFIG_SPI_FLASH_STMICRO
#else
#define CONFIG_SPI_FLASH_SPANSION #define CONFIG_SPI_FLASH_SPANSION
#endif #endif
#define FSL_QSPI_FLASH_SIZE SZ_64M /* 64MB */ #define FSL_QSPI_FLASH_SIZE SZ_64M /* 64MB */
#define FSL_QSPI_FLASH_NUM 2 #define FSL_QSPI_FLASH_NUM 2
#endif #endif
#endif
/* /*
* RTC configuration * RTC configuration
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册