xpl: Rename spl_phase() to xpl_phase()
Rename this function to indicate that it refers to any xPL phase. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -102,7 +102,7 @@ void sysreset_walk_halt(enum sysreset_t type)
|
||||
mdelay(100);
|
||||
|
||||
/* Still no reset? Give up */
|
||||
if (spl_phase() <= PHASE_SPL)
|
||||
if (xpl_phase() <= PHASE_SPL)
|
||||
log_err("no sysreset\n");
|
||||
else
|
||||
log_err("System reset not supported on this platform\n");
|
||||
|
||||
Reference in New Issue
Block a user