mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
bootstage: Use BOOTSTAGE instead of BOOTSTATE
Some of the enum members are wrong. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -423,11 +423,11 @@ static int spl_common_init(bool setup_malloc)
|
||||
}
|
||||
}
|
||||
if (CONFIG_IS_ENABLED(DM)) {
|
||||
bootstage_start(BOOTSTATE_ID_ACCUM_DM_SPL,
|
||||
bootstage_start(BOOTSTAGE_ID_ACCUM_DM_SPL,
|
||||
spl_phase() == PHASE_TPL ? "dm tpl" : "dm_spl");
|
||||
/* With CONFIG_SPL_OF_PLATDATA, bring in all devices */
|
||||
ret = dm_init_and_scan(!CONFIG_IS_ENABLED(OF_PLATDATA));
|
||||
bootstage_accum(BOOTSTATE_ID_ACCUM_DM_SPL);
|
||||
bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_SPL);
|
||||
if (ret) {
|
||||
debug("dm_init_and_scan() returned error %d\n", ret);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user