On 06/04/2019 16:21, Bryan O'Donoghue wrote:

1. I notice somebody has already added a save_gd()/restore_gd() pair

I'm referring to save_gd()/restore_gd() here : https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/mach-imx/hab.c?h=imx_v2018.03_4.14.78_1.0.0_ga

but... it's still the right idea for this problem.

Save context
Switch to bootrom mode
Restore context

Job done
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to