[meta-xilinx] [PATCH] board-common.cfg: Disable 4K sectors on QSPI NOR flash

Mike Looijmans mike.looijmans at topic.nl
Wed Jul 27 23:06:12 PDT 2016


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 <mike.looijmans at topic.nl>
---
 recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | 1 +
 1 file changed, 1 insertion(+)

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 a51da80..53ba3e3 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
-- 
1.9.1




More information about the meta-xilinx mailing list