mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
ath79: set 2048B ECC size for Mikrotik boards using soft ECC
Two Mikrotik board families (SXT 5nD R2 and Routerboard 92x are using
software ECC on NAND. Some of them use chips capable of subpage write,
others do not - within the same family, and a common block size is
required for UBI, to avoid mounting errors. Set the ECC step size
explicitly for them to 2048B, so UBI can mount existing volumes without
problems, at the same time allowing to unlocking subpage write functionality,
reuqired for Meraki MR18.
Fixes: 6561ca1fa5
("ath79: ar934x: fix mounting issues if subpage is not supported")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
parent
8125729c7c
commit
4f1b2cee3e
@ -87,6 +87,7 @@
|
||||
status = "okay";
|
||||
|
||||
nand-ecc-mode = "soft";
|
||||
nand-ecc-step-size = <2048>;
|
||||
qca,nand-swap-dma;
|
||||
qca,nand-scan-fixup;
|
||||
|
||||
|
@ -150,6 +150,7 @@
|
||||
status = "okay";
|
||||
|
||||
nand-ecc-mode = "soft";
|
||||
nand-ecc-step-size = <2048>;
|
||||
qca,nand-swap-dma;
|
||||
qca,nand-scan-fixup;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user