Skip to content

Commit

Permalink
arm64: dts: mt7986: use size of reserved partition for bl2
Browse files Browse the repository at this point in the history
To store uncompressed bl2 more space is required than partition is
actually defined.

There is currently no known usage of this reserved partition.
Openwrt uses same partition layout.

We added same change to u-boot with commit d7bb1099 [1].

[1] https://source.denx.de/u-boot/u-boot/-/commit/d7bb109900c1ca754a0198b9afb50e3161ffc21e

Cc: stable@vger.kernel.org
Fixes: 8e01fb1 ("arm64: dts: mt7986: add Bananapi R3")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/20230528113343.7649-1-linux@fw-web.de
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
  • Loading branch information
Frank Wunderlich authored and Matthias Brugger committed May 29, 2023
1 parent 8b01898 commit 4a7fcb3
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,10 @@

partition@0 {
label = "bl2";
reg = <0x0 0x20000>;
reg = <0x0 0x40000>;
read-only;
};

partition@20000 {
label = "reserved";
reg = <0x20000 0x20000>;
};

partition@40000 {
label = "u-boot-env";
reg = <0x40000 0x40000>;
Expand Down

0 comments on commit 4a7fcb3

Please sign in to comment.