arm-trusted-firmware-mediatek: skip bad blocks on SPI-NAND (SNFI)
authorDaniel Golle <daniel@makrotopia.org>
Fri, 12 Aug 2022 20:16:00 +0000 (22:16 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 12 Aug 2022 20:47:39 +0000 (22:47 +0200)
commit0038e96c275793791f151908224801beef40598e
tree4d01a0b3023c9205e03ea24bc296e76cc14440a3
parent5c69416246967f3cb443195b80a3c56dc1f52413
arm-trusted-firmware-mediatek: skip bad blocks on SPI-NAND (SNFI)

Add patch to skip bad blocks when reading from SPI-NAND. This is needed
in case erase block(s) early in the flash inside the FIP area are bad
and hence need to be skipped in order to be able to boot on such damaged
chips.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit c0109537d13650e3cfd4d4840c571a0d557b303a)
package/boot/arm-trusted-firmware-mediatek/patches/120-mt7622-bl2_boot_snand-skip-bad-blocks.patch [new file with mode: 0644]