diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/bloblist.c | 4 | ||||
-rw-r--r-- | common/spl/spl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/common/bloblist.c b/common/bloblist.c index 2008ab4d25c..fb86789df42 100644 --- a/common/bloblist.c +++ b/common/bloblist.c @@ -504,13 +504,13 @@ int bloblist_init(void) * If U-Boot is not in the first phase, an existing bloblist must be * at a fixed address. */ - bool from_addr = fixed && !u_boot_first_phase(); + bool from_addr = fixed && !xpl_is_first_phase(); /* * If U-Boot is in the first phase that an arch custom routine should * install the bloblist passed from previous loader to this fixed * address. */ - bool from_boot_arg = fixed && u_boot_first_phase(); + bool from_boot_arg = fixed && xpl_is_first_phase(); if (spl_prev_phase() == PHASE_TPL && !IS_ENABLED(CONFIG_TPL_BLOBLIST)) from_addr = false; diff --git a/common/spl/spl.c b/common/spl/spl.c index c13b2b8f714..9c3bba48251 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -464,13 +464,13 @@ static int spl_common_init(bool setup_malloc) gd->malloc_ptr = 0; } #endif - ret = bootstage_init(u_boot_first_phase()); + ret = bootstage_init(xpl_is_first_phase()); if (ret) { debug("%s: Failed to set up bootstage: ret=%d\n", __func__, ret); return ret; } - if (!u_boot_first_phase()) { + if (!xpl_is_first_phase()) { ret = bootstage_unstash_default(); if (ret) log_debug("Failed to unstash bootstage: ret=%d\n", ret); |