summaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-zynq/cpu.c')
-rw-r--r--arch/arm/mach-zynq/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/cpu.c b/arch/arm/mach-zynq/cpu.c
index 5b6d765099d..74dddc25988 100644
--- a/arch/arm/mach-zynq/cpu.c
+++ b/arch/arm/mach-zynq/cpu.c
@@ -52,7 +52,7 @@ static const struct {
int arch_cpu_init(void)
{
zynq_slcr_unlock();
-#ifndef CONFIG_SPL_BUILD
+#ifndef CONFIG_XPL_BUILD
/* Device config APB, unlock the PCAP */
writel(0x757BDF0D, &devcfg_base->unlock);
writel(0xFFFFFFFF, &devcfg_base->rom_shadow);