]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: UniPhier: remove unnecessary ifdef conditional
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 18 Dec 2014 10:11:01 +0000 (19:11 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 18 Dec 2014 14:34:12 +0000 (23:34 +0900)
init_page_table is only set on SPL.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/armv7/uniphier/init_page_table.c

index a0d10a995d2b3d3e05357a28978691badc8603d9..febb3c8e4b967e9fbbdf7255dba357e03c9f0e8c 100644 (file)
 #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))