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:
@@ -489,7 +489,7 @@ int bootstage_unstash(const void *base, int size)
|
||||
for (rec = data->record + data->next_id, i = 0; i < hdr->count;
|
||||
i++, rec++) {
|
||||
rec->name = ptr;
|
||||
if (spl_phase() == PHASE_SPL)
|
||||
if (xpl_phase() == PHASE_SPL)
|
||||
rec->name = strdup(ptr);
|
||||
|
||||
/* Assume no data corruption here */
|
||||
|
||||
Reference in New Issue
Block a user