mediatek: filogic: bpi-r3-mini: fix NAND flash layout

Fix NAND flash layout which was out-of-sync with the definition in
ARM TrustedFirmware-A which expects UBI to start at 0x200000.

Fixes: b03d3644cf ("mediatek: filogic: add BananaPi BPi-R3 mini")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2024-02-16 05:38:07 +00:00
parent 67beab2b2b
commit ae1c0f1b15
2 changed files with 6 additions and 6 deletions

View File

@ -758,12 +758,12 @@
+
+ partition@0 {
+ label = "bl2";
+ reg = <0x0 0x80000>;
+ reg = <0x0 0x200000>;
+ };
+
+ partition@80000 {
+ partition@200000 {
+ label = "ubi";
+ reg = <0x80000 0x7f80000>;
+ reg = <0x200000 0x7e00000>;
+ };
+ };
+ };

View File

@ -507,13 +507,13 @@
partition@0 {
label = "bl2";
reg = <0x00000 0x100000>;
reg = <0x0 0x200000>;
read-only;
};
partition@100000 {
partition@200000 {
label = "ubi";
reg = <0x100000 0x7f00000>;
reg = <0x200000 0x7e00000>;
compatible = "linux,ubi";
volumes {