rockchip: Print a message when returning to the bootrom
authorSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 19:11:31 +0000 (13:11 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 18 Apr 2017 14:29:26 +0000 (10:29 -0400)
commite1bc64eec279e103feedff02f3a4b3c2e9f15240
tree49ed8130075054777b060cfbb0fa05806fb7fa51
parentd1710561b0c4b68041d0f51e8fc5cfe3c2c15bb9
rockchip: Print a message when returning to the bootrom

At present if the return to bootrom fails (e.g. because you are not using
the Rockchip's bootrom's pointer table in MMC) then the board prints
SPL message and hangs. Print a message first if we can, to help in
understanding what happened when it hangs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/include/asm/arch-rockchip/bootrom.h
arch/arm/mach-rockchip/Makefile
arch/arm/mach-rockchip/bootrom.c [new file with mode: 0644]
arch/arm/mach-rockchip/save_boot_param.S