From: Masahiro Yamada Date: Thu, 18 Dec 2014 10:11:01 +0000 (+0900) Subject: ARM: UniPhier: remove unnecessary ifdef conditional X-Git-Tag: v2025.01-rc5-pxa1908~14158 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d4d45ead23be5d45a289d78f0cccd32a2f2c770b;p=u-boot.git ARM: UniPhier: remove unnecessary ifdef conditional init_page_table is only set on SPL. Signed-off-by: Masahiro Yamada --- diff --git a/arch/arm/cpu/armv7/uniphier/init_page_table.c b/arch/arm/cpu/armv7/uniphier/init_page_table.c index a0d10a995d..febb3c8e4b 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))