]> git.hungrycats.org Git - linux/commit
arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3
authorDaniel Golle <daniel@makrotopia.org>
Tue, 6 Jun 2023 15:43:20 +0000 (16:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:43 +0000 (19:39 +0200)
commitce2f6ff1e526d53804369cef2465d80e3fac1818
tree5bd5082a7eefc36cd63cccb9258529a311b067d3
parentdd6dd939eadde697c203e1406b93792dbed96d3d
arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3

[ Upstream commit 3bfbff9b461e3506dfb5b2904e8c15a0aea39e07 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso