summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-06-06 17:43:20 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2023-06-15 13:14:59 +0200
commit3bfbff9b461e3506dfb5b2904e8c15a0aea39e07 (patch)
treebed8abc54cb48eb3fb1f579ed75c0005a19d7591 /arch/arm64/boot/dts/mediatek
parentarm64: dts: mediatek: mt8186: Wire up GPU voltage/frequency scaling (diff)
downloadlinux-3bfbff9b461e3506dfb5b2904e8c15a0aea39e07.tar.xz
linux-3bfbff9b461e3506dfb5b2904e8c15a0aea39e07.zip
arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3
The bootrom burned into the MT7986 SoC will try multiple locations on the SPI-NAND flash to load bl2 in case the bl2 image located at the the previously attempted offset is corrupt. Use 0x100000 instead of 0x80000 as partition size for bl2 on SPI-NAND, allowing for up to four redundant copies of bl2 (typically sized a bit less than 0x40000). Fixes: 8e01fb15b8157 ("arm64: dts: mt7986: add Bananapi R3") Signed-off-by: Daniel Golle <daniel@makrotopia.org> Link: https://lore.kernel.org/r/ZH9UGF99RgzrHZ88@makrotopia.org Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
index 15ee8c568f3c..543c13385d6e 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
@@ -29,13 +29,13 @@
partition@0 {
label = "bl2";
- reg = <0x0 0x80000>;
+ reg = <0x0 0x100000>;
read-only;
};
- partition@80000 {
+ partition@100000 {
label = "reserved";
- reg = <0x80000 0x300000>;
+ reg = <0x100000 0x280000>;
};
partition@380000 {