]> git.ipfire.org Git - people/ms/u-boot.git/commit
rockchip: add option to change method of loading u-boot
authorXu Ziyuan <xzy.xu@rock-chips.com>
Tue, 12 Jul 2016 11:09:49 +0000 (19:09 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 02:44:18 +0000 (20:44 -0600)
commitb47ea79219f1de43fa21456c6c60c8390b8755d2
tree7639d25c4dba2ed0fc87bd153111ba33a1dc2fa7
parent4579720412744dd13266a3505bb38ce2da819b4f
rockchip: add option to change method of loading u-boot

If we would like to boot from SD card, we have to implement mmc driver
in SPL stage, and get a slightly large SPL binary. Rockchip SoC's
bootrom code has the ability to load spl and u-boot, then boot.

If CONFIG_ROCKCHIP_SPL_BACK_TO_BROM is enabled, the spl will return to
bootrom in board_init_f(), then bootrom loads u-boot binary.

Loading sequence after rework:
bootrom ==> spl ==> bootrom ==> u-boot

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Fixed up spelling of U-Boot, boorom, opinion->option, Rochchip:
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/Makefile
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/rk3036/Makefile
arch/arm/mach-rockchip/rk3288-board-spl.c
arch/arm/mach-rockchip/save_boot_param.S [moved from arch/arm/mach-rockchip/rk3036/save_boot_param.S with 90% similarity]
doc/README.rockchip
include/configs/rk3288_common.h