common: spl: call the spl_next_stage() to get next stage process
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ibfe81766fcbfe002978b7d225a5602a8eeb89c12
This commit is contained in:
parent
2323b257d7
commit
e8b9592f0e
|
|
@ -82,6 +82,9 @@ void __weak spl_perform_fixups(struct spl_image_info *spl_image)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Get the next stage process */
|
||||||
|
__weak void spl_next_stage(struct spl_image_info *spl) {}
|
||||||
|
|
||||||
void spl_fixup_fdt(void)
|
void spl_fixup_fdt(void)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_SPL_OF_LIBFDT) && defined(CONFIG_SYS_SPL_ARGS_ADDR)
|
#if defined(CONFIG_SPL_OF_LIBFDT) && defined(CONFIG_SYS_SPL_ARGS_ADDR)
|
||||||
|
|
@ -528,7 +531,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
|
||||||
#endif
|
#endif
|
||||||
spl_image.boot_device = BOOT_DEVICE_NONE;
|
spl_image.boot_device = BOOT_DEVICE_NONE;
|
||||||
board_boot_order(spl_boot_list);
|
board_boot_order(spl_boot_list);
|
||||||
|
spl_next_stage(&spl_image);
|
||||||
if (boot_from_devices(&spl_image, spl_boot_list,
|
if (boot_from_devices(&spl_image, spl_boot_list,
|
||||||
ARRAY_SIZE(spl_boot_list))) {
|
ARRAY_SIZE(spl_boot_list))) {
|
||||||
puts("SPL: failed to boot from all boot devices\n");
|
puts("SPL: failed to boot from all boot devices\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue