summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/intel_common/mrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/intel_common/mrc.c')
-rw-r--r--arch/x86/cpu/intel_common/mrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/intel_common/mrc.c b/arch/x86/cpu/intel_common/mrc.c
index c834c05d130..baa1f0e32d6 100644
--- a/arch/x86/cpu/intel_common/mrc.c
+++ b/arch/x86/cpu/intel_common/mrc.c
@@ -259,7 +259,7 @@ int mrc_common_init(struct udevice *dev, void *pei_data, bool use_asm_linkage)
return ret;
delay = dev_read_u32_default(dev, "fspm,training-delay", 0);
- if (spl_phase() == PHASE_SPL) {
+ if (xpl_phase() == PHASE_SPL) {
if (delay)
printf("SDRAM training (%d seconds)...", delay);
else