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:
@@ -193,7 +193,7 @@ struct io_setting {
|
||||
*/
|
||||
static bool phase_sdram_init(void)
|
||||
{
|
||||
return spl_phase() == PHASE_TPL ||
|
||||
return xpl_phase() == PHASE_TPL ||
|
||||
(!IS_ENABLED(CONFIG_TPL) &&
|
||||
!IS_ENABLED(CONFIG_ROCKCHIP_EXTERNAL_TPL) &&
|
||||
!spl_in_proper());
|
||||
|
||||
Reference in New Issue
Block a user