
12 Jul
2016
12 Jul
'16
6:30 a.m.
Am 12.07.2016 um 05:18 schrieb Ziyuan Xu:
From: Xu Ziyuan xzy.xu@rock-chips.com
If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly large SPL binrary. Rockchip SoC's
"binary"
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 tbootrom in board_init_f(), then bootrom load u-boot binrary.
"the bootrom", "the bootrom loads", "binary"
This patch does that.
Redundant?
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
Regards, Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)