mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
35 lines
986 B
Makefile
35 lines
986 B
Makefile
#
|
|
# Copyright (c) 2014 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
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
|
|
else ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
|
|
else
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
|
|
endif
|
|
ifndef CONFIG_ARM64
|
|
obj-y += rk_timer.o
|
|
endif
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
|
|
|
|
ifndef CONFIG_TPL_BUILD
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
|
|
endif
|
|
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
|
obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
|
|
obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
|