From: Santan Kumar Date: Fri, 18 Aug 2017 15:20:32 +0530 Subject: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s In-Reply-To: <1503049833-6943-1-git-send-email-santan.kumar@nxp.com> References: <1503049833-6943-1-git-send-email-santan.kumar@nxp.com> Message-ID: <1503049833-6943-2-git-send-email-santan.kumar@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Signed-off-by: Yogesh Gaur Signed-off-by: Priyanka Jain --- This patch is split version of another patch https://patchwork.ozlabs.org/patch/779931/ arch/arm/dts/fsl-ls2081a-rdb.dts | 4 ++-- include/configs/ls2080ardb.h | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/arm/dts/fsl-ls2081a-rdb.dts b/arch/arm/dts/fsl-ls2081a-rdb.dts index 6489362..aa4aa68 100644 --- a/arch/arm/dts/fsl-ls2081a-rdb.dts +++ b/arch/arm/dts/fsl-ls2081a-rdb.dts @@ -41,7 +41,7 @@ bus-num = <0>; status = "okay"; - qflash0: n25q512a at 0 { + qflash0: s25fs512s at 0 { #address-cells = <1>; #size-cells = <1>; compatible = "spi-flash"; @@ -49,7 +49,7 @@ reg = <0>; }; - qflash1: n25q512a at 1 { + qflash1: s25fs512s at 1 { #address-cells = <1>; #size-cells = <1>; compatible = "spi-flash"; diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index 2dab065..9b9a710 100644 --- a/include/configs/ls2080ardb.h +++ b/include/configs/ls2080ardb.h @@ -293,19 +293,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 -- 1.9.1