From d4d45ead23be5d45a289d78f0cccd32a2f2c770b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 18 Dec 2014 19:11:01 +0900 Subject: ARM: UniPhier: remove unnecessary ifdef conditional init_page_table is only set on SPL. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/uniphier/init_page_table.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arch/arm/cpu/armv7') diff --git a/arch/arm/cpu/armv7/uniphier/init_page_table.c b/arch/arm/cpu/armv7/uniphier/init_page_table.c index a0d10a9..febb3c8 100644 --- a/arch/arm/cpu/armv7/uniphier/init_page_table.c +++ b/arch/arm/cpu/armv7/uniphier/init_page_table.c @@ -17,11 +17,7 @@ #define REG DEVICE /* IO Register: Device */ #define DDR DEVICE /* DDR SDRAM: Device */ -#ifdef CONFIG_SPL_BUILD #define IS_SPL_TEXT_AREA(x) ((x) == ((CONFIG_SPL_TEXT_BASE) >> 20)) -#else -#define IS_SPL_TEXT_AREA(x) ((x) == ((CONFIG_SYS_TEXT_BASE) >> 20)) -#endif #define IS_INIT_STACK_AREA(x) ((x) == ((CONFIG_SYS_INIT_SP_ADDR) >> 20)) -- cgit v1.1