> The back-to-bootrom implementation for Rockchip has always relied on > the stack-pointer being valid on entry, so there was little reason to > have this as an assembly implementation. > > This provides a new C-only implementation of save_boot_params and > back_to_bootrom (relying on setjmp/longjmp) and removes the older > assembly-only implementation. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Tested-by: Andy Yan <andy....@rock-chips.com> > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/include/asm/arch-rockchip/bootrom.h | 27 ++++++++--- > arch/arm/mach-rockchip/Makefile | 4 +- > arch/arm/mach-rockchip/bootrom.c | 52 ++++++++++++++++++++- > arch/arm/mach-rockchip/save_boot_param.S | 69 > ---------------------------- > 4 files changed, 73 insertions(+), 79 deletions(-) > delete mode 100644 arch/arm/mach-rockchip/save_boot_param.S >
Applied to u-boot-rockchip/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot