[U-Boot] [PATCH] rockchip: Print a message when returning to the bootrom

Heiko Stuebner heiko at sntech.de
Thu Apr 6 19:20:45 UTC 2017


Am Dienstag, 4. April 2017, 20:02:40 CEST schrieb Simon Glass:
> 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 at chromium.org>

[...]

> diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile
> index 6b251c7e7e..5caecfb2c0 100644
> --- a/arch/arm/mach-rockchip/Makefile
> +++ b/arch/arm/mach-rockchip/Makefile
> @@ -4,6 +4,8 @@
>  # SPDX-License-Identifier:	GPL-2.0+
>  #
>  
> +obj-y += bootrom.o
> +

you also probably want
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o


>  ifdef CONFIG_TPL_BUILD
>  obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
>  obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o




More information about the U-Boot mailing list