diff options
author | David Bauer <mail@david-bauer.net> | 2023-06-30 19:30:09 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-07-02 15:31:03 +0200 |
commit | fa1822a8e9beb10f6a6de548b5fe7482b695a866 (patch) | |
tree | 6c9006adbf314d9c5b5fbd8cda69ae3dbc8e21f7 /target | |
parent | f9fadb8de2b7322b6c8ac05402d9fd3a61335b9c (diff) | |
download | upstream-fa1822a8e9beb10f6a6de548b5fe7482b695a866.tar.gz upstream-fa1822a8e9beb10f6a6de548b5fe7482b695a866.tar.bz2 upstream-fa1822a8e9beb10f6a6de548b5fe7482b695a866.zip |
mediatek: define NMBM management region for WAX220
The NETGEAR WAX220 employs NMBM on SPI-NAND. In order to avoid dealing
with invalid factory data, enable NMBM in the area preceding the UBI
volume.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 92eec257dd562547bc08ee76c1901eb22b66937c)
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/mediatek/dts/mt7986b-netgear-wax220.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts b/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts index f7da6e3630..ac2a4b0824 100644 --- a/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts +++ b/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts @@ -186,6 +186,11 @@ spi-tx-buswidth = <4>; spi-rx-buswidth = <4>; + mediatek,nmbm; + mediatek,bmt-max-ratio = <1>; + mediatek,bmt-max-reserved-blocks = <256>; + mediatek,bmt-remap-range = <0x0 0x580000>; + partitions: partitions { #address-cells = <0x1>; #size-cells = <0x1>; |