summaryrefslogtreecommitdiff
path: root/configs/socfpga_stratix10_defconfig
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2019-05-08 11:07:37 +0800
committerMarek Vasut <marex@denx.de>2019-05-10 22:48:11 +0200
commit8ede7515fe50f670f7a7835a24e0cff7596b6c16 (patch)
treeb4089084b4566e559ea2f450f028252e3ae0c8e0 /configs/socfpga_stratix10_defconfig
parentda0d5f6f731d44b66eb645920f7a9e6735b490cf (diff)
configs: stratix10: Enable CONFIG_SPI_FLASH_USE_4K_SECTORS
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 size 64 KiB, total 256 MiB Erasing SPI flash...SF: Erase offset/length not multiple of erase size Failed (-22) Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'configs/socfpga_stratix10_defconfig')
-rw-r--r--configs/socfpga_stratix10_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig
index 18cc959450..fbab388b43 100644
--- a/configs/socfpga_stratix10_defconfig
+++ b/configs/socfpga_stratix10_defconfig
@@ -42,7 +42,6 @@ CONFIG_SPI_FLASH=y
CONFIG_SF_DEFAULT_MODE=0x2003
CONFIG_SPI_FLASH_SPANSION=y
CONFIG_SPI_FLASH_STMICRO=y
-# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
CONFIG_PHY_MICREL=y
CONFIG_PHY_MICREL_KSZ90X1=y
CONFIG_DM_ETH=y