]> git.sur5r.net Git - u-boot/commit
rockchip: back-to-bootrom: replace assembly-implementation with C-code
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 10 Oct 2017 14:21:14 +0000 (16:21 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 21 Nov 2017 22:57:22 +0000 (23:57 +0100)
commitecfd71891a81b2db0aada07306e8bc54b4273179
treeea64bfb5a340f3740a912139c1002d3c58c5ab8e
parentb4806d6f1f82f0a2d76b7206bdc5e4ba7d567b6f
rockchip: back-to-bootrom: replace assembly-implementation with C-code

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@theobroma-systems.com>
Tested-by: Andy Yan <andy.yan@rock-chips.com>
arch/arm/include/asm/arch-rockchip/bootrom.h
arch/arm/mach-rockchip/Makefile
arch/arm/mach-rockchip/bootrom.c
arch/arm/mach-rockchip/save_boot_param.S [deleted file]