diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-18 19:11:01 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-18 23:34:12 +0900 |
commit | d4d45ead23be5d45a289d78f0cccd32a2f2c770b (patch) | |
tree | efba1a626784a07333b56234aa72137b8ce48a81 /arch | |
parent | 490f55c4a642f521338520cce3b031e379faa3f0 (diff) | |
download | u-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')
-rw-r--r-- | arch/arm/cpu/armv7/uniphier/init_page_table.c | 4 |
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)) |