From 5c2f10ce91c1038886680cdc6bcc68f66ab730b7 Mon Sep 17 00:00:00 2001 From: Mike Looijmans Date: Thu, 28 Jul 2016 08:06:12 +0200 Subject: board-common.cfg: Disable 4K sectors on QSPI NOR flash The 4K sector support makes erasing much slower and prevents using wear-levelling filesystems like UBI, which needs erase sectors to be at least 16k in size. Until this situation has been properly resolved in the kernel, disable the setting. For a discussion on the topic, and the reason the config exists, see: https://patchwork.ozlabs.org/patch/380565/ Signed-off-by: Mike Looijmans Signed-off-by: Nathan Rossi --- recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg index a51da80d..53ba3e36 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg @@ -20,6 +20,7 @@ CONFIG_EEPROM_AT25=y # MTD CONFIG_MTD=y CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set CONFIG_MTD_M25P80=y CONFIG_MTD_CFI=y CONFIG_MTD_CFI_AMDSTD=y -- cgit v1.2.3-54-g00ecf