]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: armv8: Fix spl recover data section broken
authorYe Li <ye.li@nxp.com>
Fri, 12 Sep 2025 09:41:11 +0000 (17:41 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 13 Sep 2025 23:59:23 +0000 (17:59 -0600)
commit2dbde3f9b08771b8182fcbf0bb0309acaff6c2e1
treeb944d6f2b9dc339981fd3bad2b0a9ebfbdfe30fd
parent210702ae6ce820713773549c4e102b37f09d7cc5
arm: armv8: Fix spl recover data section broken

SPL recover data section is broken which causes reboot failure on
some i.MX platforms (iMX8QM/iMX95).
The global variable cold_reboot_flag is assigned to weak reset_flag
function which always return 1, so restore never been executed in
warm reboot.

Fixes: 1c37e59bfbba ("arm: armv8: Improve SPL data save and restore implementation")
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/spl_data.c
arch/arm/mach-socfpga/spl_agilex.c
arch/arm/mach-socfpga/spl_agilex5.c