diff options
Diffstat (limited to 'arch/x86/cpu/apollolake/pch.c')
-rw-r--r-- | arch/x86/cpu/apollolake/pch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/apollolake/pch.c b/arch/x86/cpu/apollolake/pch.c index 32190312ff8..07ef26f6bde 100644 --- a/arch/x86/cpu/apollolake/pch.c +++ b/arch/x86/cpu/apollolake/pch.c @@ -12,7 +12,7 @@ static int apl_set_spi_protect(struct udevice *dev, bool protect) { - if (spl_phase() == PHASE_SPL) + if (xpl_phase() == PHASE_SPL) return lpc_set_spi_protect(dev, BIOS_CTRL, protect); return 0; |