Re: [U-Boot] [PATCH] configs: stratix10: Enable CONFIG_SPI_FLASH_USE_4K_SECTORS

2019-05-07 Thread Marek Vasut
On 5/8/19 5:07 AM, Ley Foon Tan wrote: > Fix SPI flash environment erase size error. > > CONFIG_ENV_SECT_SIZE is set to 4KB. Enable CONFIG_SPI_FLASH_USE_4K_SECTORS > to allow erase one environment sector. > > Fix error below: > > SOCFPGA_STRATIX10 # saveenv > Saving Environment to SPI Flash...

[U-Boot] [PATCH] configs: stratix10: Enable CONFIG_SPI_FLASH_USE_4K_SECTORS

2019-05-07 Thread Ley Foon Tan
Fix SPI flash environment erase size error. CONFIG_ENV_SECT_SIZE is set to 4KB. Enable CONFIG_SPI_FLASH_USE_4K_SECTORS to allow erase one environment sector. Fix error below: SOCFPGA_STRATIX10 # saveenv Saving Environment to SPI Flash... SF: Detected mt25qu02g with page size 256 Bytes, erase