[U-Boot] [U-Boot, v5, 14/18] rockchip: back-to-bootrom: replace assembly-implementation with C-code
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Tue Nov 7 14:18:48 UTC 2017
> 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.tomsich at theobroma-systems.com>
> Tested-by: Andy Yan <andy.yan at 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!
More information about the U-Boot
mailing list