summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/px30/px30.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rockchip/px30/px30.c')
-rw-r--r--arch/arm/mach-rockchip/px30/px30.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/px30/px30.c b/arch/arm/mach-rockchip/px30/px30.c
index 2ec3289d75b..8ce9ac561f0 100644
--- a/arch/arm/mach-rockchip/px30/px30.c
+++ b/arch/arm/mach-rockchip/px30/px30.c
@@ -2,7 +2,6 @@
/*
* Copyright (c) 2017 Rockchip Electronics Co., Ltd
*/
-#include <common.h>
#include <clk.h>
#include <dm.h>
#include <fdt_support.h>
@@ -245,7 +244,7 @@ int arch_cpu_init(void)
static struct px30_cru * const cru = (void *)CRU_BASE;
u32 __maybe_unused val;
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
/* We do some SoC one time setting here. */
/* Disable the ddr secure region setting to make it non-secure */
writel(0x0, DDR_FW_BASE + FW_DDR_CON);