[U-Boot] [u-boot-release] [PATCH] configs: Disable 4k erase sector size for spansion "s25fs512s" flash

Ashish Kumar ashish.kumar at nxp.com
Tue Jun 26 07:47:53 UTC 2018



> -----Original Message-----
> From: York Sun
> Sent: Monday, June 25, 2018 9:05 PM
> To: Ashish Kumar <ashish.kumar at nxp.com>; u-boot at lists.denx.de
> Cc: Udit Agarwal <udit.agarwal at nxp.com>; Priyanka Jain
> <priyanka.jain at nxp.com>; Vinitha V Pillai <vinitha.pillai at nxp.com>; Prabhakar
> Kushwaha <prabhakar.kushwaha at nxp.com>; Mingkai Hu
> <mingkai.hu at nxp.com>; york.sun at nxp.com.com; Ruchika Gupta
> <ruchika.gupta at nxp.com>
> Subject: Re: [u-boot-release] [PATCH] configs: Disable 4k erase sector size for
> spansion "s25fs512s" flash
> 
> On 06/25/2018 03:31 AM, Ashish Kumar wrote:
> > 4K erase size is used only in case of hydrid mode which is not
> > supported on any NXP platform with flash "s25fs512s".
> > Supported mode is uniform sector, with erase size 256kiB.
> >
> > Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
> > ---
> >  configs/ls1046aqds_qspi_defconfig                    | 1 +
> >  configs/ls1046aqds_sdcard_qspi_defconfig             | 1 +
> >  configs/ls1046ardb_qspi_SECURE_BOOT_defconfig        | 1 +
> >  configs/ls1046ardb_qspi_defconfig                    | 1 +
> >  configs/ls1088aqds_qspi_SECURE_BOOT_defconfig        | 1 +
> >  configs/ls1088aqds_qspi_defconfig                    | 1 +
> >  configs/ls1088aqds_sdcard_qspi_defconfig             | 1 +
> >  configs/ls1088ardb_qspi_SECURE_BOOT_defconfig        | 1 +
> >  configs/ls1088ardb_qspi_defconfig                    | 1 +
> >  configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 1 +
> >  configs/ls1088ardb_sdcard_qspi_defconfig             | 1 +
> >  configs/ls2080aqds_qspi_defconfig                    | 1 +
> >  configs/ls2088ardb_qspi_SECURE_BOOT_defconfig        | 1 +
> >  configs/ls2088ardb_qspi_defconfig                    | 1 +
> >  14 files changed, 14 insertions(+)
> >
> > diff --git a/configs/ls1046aqds_qspi_defconfig
> > b/configs/ls1046aqds_qspi_defconfig
> > index 4f3290c..a770039 100644
> > --- a/configs/ls1046aqds_qspi_defconfig
> > +++ b/configs/ls1046aqds_qspi_defconfig
> > @@ -41,6 +41,7 @@ CONFIG_SPI=y
> >  CONFIG_DM_SPI=y
> >  CONFIG_FSL_DSPI=y
> >  CONFIG_FSL_QSPI=y
> > +CONFIG_SPI_FLASH_USE_4K_SECTORS=n
> 
> Ashish,
> 
> Did you get the defconfig by "savedefconfig"? I think the correct setting is
> 
> # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
Thanks York,

I will use savedefconfig method

Regards
Ashish
> 
> York


More information about the U-Boot mailing list