diff options
| author | Mathias Kresin <dev@kresin.me> | 2016-09-13 21:47:25 +0200 |
|---|---|---|
| committer | Mathias Kresin <dev@kresin.me> | 2016-09-13 22:06:08 +0200 |
| commit | 925e63e71fa6691f3fa374f71c77d0a91c7e7539 (patch) | |
| tree | 5e01f07a19b108fab231a048c80cf90d64c84f77 | |
| parent | 61c2a7339a70b34cc357f9f190921365c39073f9 (diff) | |
| download | upstream-925e63e71fa6691f3fa374f71c77d0a91c7e7539.tar.gz upstream-925e63e71fa6691f3fa374f71c77d0a91c7e7539.tar.bz2 upstream-925e63e71fa6691f3fa374f71c77d0a91c7e7539.zip | |
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 <dev@kresin.me>
| -rw-r--r-- | target/linux/ramips/mt7620/config-4.4 | 1 | ||||
| -rw-r--r-- | target/linux/ramips/mt7621/config-4.4 | 1 | ||||
| -rw-r--r-- | target/linux/ramips/rt305x/config-4.4 | 1 | ||||
| -rw-r--r-- | target/linux/ramips/rt3883/config-4.4 | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7620/config-4.4 b/target/linux/ramips/mt7620/config-4.4 index fe211030b4f..a2a77177f46 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 diff --git a/target/linux/ramips/mt7621/config-4.4 b/target/linux/ramips/mt7621/config-4.4 index 9132d894df5..b391005a31c 100644 --- a/target/linux/ramips/mt7621/config-4.4 +++ b/target/linux/ramips/mt7621/config-4.4 @@ -159,6 +159,7 @@ CONFIG_MTD_NAND=y CONFIG_MTD_NAND_ECC=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_TRX_FW=y diff --git a/target/linux/ramips/rt305x/config-4.4 b/target/linux/ramips/rt305x/config-4.4 index 9911d9249ea..b8f6cda4694 100644 --- a/target/linux/ramips/rt305x/config-4.4 +++ b/target/linux/ramips/rt305x/config-4.4 @@ -131,6 +131,7 @@ CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_M25P80=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_UIMAGE_FW=y diff --git a/target/linux/ramips/rt3883/config-4.4 b/target/linux/ramips/rt3883/config-4.4 index 26f0fd9cdb9..93df68771cf 100644 --- a/target/linux/ramips/rt3883/config-4.4 +++ b/target/linux/ramips/rt3883/config-4.4 @@ -130,6 +130,7 @@ CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_M25P80=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_UIMAGE_FW=y |
