summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-18 19:11:01 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-18 23:34:12 +0900
commitd4d45ead23be5d45a289d78f0cccd32a2f2c770b (patch)
treeefba1a626784a07333b56234aa72137b8ce48a81 /arch/arm/cpu/armv7
parent490f55c4a642f521338520cce3b031e379faa3f0 (diff)
downloadu-boot-imx-d4d45ead23be5d45a289d78f0cccd32a2f2c770b.zip
u-boot-imx-d4d45ead23be5d45a289d78f0cccd32a2f2c770b.tar.gz
u-boot-imx-d4d45ead23be5d45a289d78f0cccd32a2f2c770b.tar.bz2
ARM: UniPhier: remove unnecessary ifdef conditional
init_page_table is only set on SPL. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r--arch/arm/cpu/armv7/uniphier/init_page_table.c4
1 files changed, 0 insertions, 4 deletions
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))