arm-trusted-firmware-mediatek: fix hang on reboot on MT7622
authorDaniel Golle <daniel@makrotopia.org>
Sun, 10 Sep 2023 22:39:33 +0000 (23:39 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 10 Sep 2023 23:03:56 +0000 (00:03 +0100)
commita7449e5e9532d4ba3022ae88a05bfd44021e2543
tree282b0554fa4a5c7824d7ea6726a25d2fc70df473
parent0cb2ff5d08702c81f91cfe20dba8f0bdb005cb95
arm-trusted-firmware-mediatek: fix hang on reboot on MT7622

With recent updates of TF-A the previously already fixed bug slipped
back into the source tree. Again, reorder bl2 init for MT7622 and
initialize WDT only after DRAM init has completed to avoid the
notorious hang.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 948ad2ec7a21645bac4d523c8f31d1cc3e2eac71)
package/boot/arm-trusted-firmware-mediatek/Makefile
package/boot/arm-trusted-firmware-mediatek/patches/002-mt7622-move-wdt-init-after-dram-init.patch [new file with mode: 0644]