summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-15 19:11:31 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-18 14:29:26 (GMT)
commite1bc64eec279e103feedff02f3a4b3c2e9f15240 (patch)
tree49ed8130075054777b060cfbb0fa05806fb7fa51 /arch/arm/mach-rockchip/Makefile
parentd1710561b0c4b68041d0f51e8fc5cfe3c2c15bb9 (diff)
downloadu-boot-e1bc64eec279e103feedff02f3a4b3c2e9f15240.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-rockchip/Makefile')
-rw-r--r--arch/arm/mach-rockchip/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile
index 6b251c7..327b267 100644
--- a/arch/arm/mach-rockchip/Makefile
+++ b/arch/arm/mach-rockchip/Makefile
@@ -4,6 +4,8 @@
# 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