From 925e63e71fa6691f3fa374f71c77d0a91c7e7539 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Tue, 13 Sep 2016 21:47:25 +0200 Subject: ramips: enable 4K sector support in kernel config This is a follow up to 28110727f1d513a6c4c13aa87ecb606aa5d306eb "ramips: set blocksize for 4MB devices". I've missed to include the required changes of the kernel configs to enable 4K sector size support. The option is only enabled for targets having boards with 4k sector size flash chips. Signed-off-by: Mathias Kresin --- target/linux/ramips/mt7620/config-4.4 | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ramips/mt7620') diff --git a/target/linux/ramips/mt7620/config-4.4 b/target/linux/ramips/mt7620/config-4.4 index fe211030b4..a2a77177f4 100644 --- a/target/linux/ramips/mt7620/config-4.4 +++ b/target/linux/ramips/mt7620/config-4.4 @@ -137,6 +137,7 @@ CONFIG_MTD_M25P80=y CONFIG_MTD_NAND_MT7620=y CONFIG_MTD_PHYSMAP=y CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y CONFIG_MTD_SPLIT_FIRMWARE=y CONFIG_MTD_SPLIT_SEAMA_FW=y CONFIG_MTD_SPLIT_TPLINK_FW=y -- cgit v1.2.3