diff options
author | Paul Fertser <fercerpav@gmail.com> | 2019-11-26 16:01:11 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-12-19 22:41:57 +0100 |
commit | 05d35403b211ccb9bf20e2b3c0b7a30c82c6d6a2 (patch) | |
tree | abea039174757ac34762d868ce7bcf10eb76b4c8 /target | |
parent | b14e529dd7f10646e3f9a6b36cd3d93fd6c36dc8 (diff) | |
download | upstream-05d35403b211ccb9bf20e2b3c0b7a30c82c6d6a2.tar.gz upstream-05d35403b211ccb9bf20e2b3c0b7a30c82c6d6a2.tar.bz2 upstream-05d35403b211ccb9bf20e2b3c0b7a30c82c6d6a2.zip |
ath79-tiny: enable 4k sectors
This enables using 4kiB sectors as erase blocks for 4MiB NOR flash ICs
that support it.
Writeable jffs2 overlay used to store settings requires a partition with
at least 5 erase blocks, so using small sectors is essential for devices
with 4MiB flash.
Sysupgrading a device running firmware without this feature will likely
not allow to preserve configs automatically but since ath79 is
considered to be in a "technology preview" state it shouldn't be a
problem.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ath79/tiny/config-default | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/tiny/config-default b/target/linux/ath79/tiny/config-default index 90cd5534c7..9b845abbff 100644 --- a/target/linux/ath79/tiny/config-default +++ b/target/linux/ath79/tiny/config-default @@ -1,4 +1,5 @@ CONFIG_LEDS_RESET=y +CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y CONFIG_NET_DSA=y CONFIG_NET_DSA_MV88E6060=y CONFIG_NET_DSA_TAG_TRAILER=y |