diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-07-28 08:06:12 +0200 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-07-31 18:41:03 +1000 |
commit | 5c2f10ce91c1038886680cdc6bcc68f66ab730b7 (patch) | |
tree | a96432fe7982d2ea275ac66be85f3704173b7248 /recipes-kernel/linux/config/xilinx-common/bsp | |
parent | f165bbb765850e90eea3adbdeb68803e8076f9e4 (diff) | |
download | meta-xilinx-5c2f10ce91c1038886680cdc6bcc68f66ab730b7.tar.gz |
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 <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-kernel/linux/config/xilinx-common/bsp')
-rw-r--r-- | recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
20 | # MTD | 20 | # MTD |
21 | CONFIG_MTD=y | 21 | CONFIG_MTD=y |
22 | CONFIG_MTD_SPI_NOR=y | 22 | CONFIG_MTD_SPI_NOR=y |
23 | # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set | ||
23 | CONFIG_MTD_M25P80=y | 24 | CONFIG_MTD_M25P80=y |
24 | CONFIG_MTD_CFI=y | 25 | CONFIG_MTD_CFI=y |
25 | CONFIG_MTD_CFI_AMDSTD=y | 26 | CONFIG_MTD_CFI_AMDSTD=y |