arm-trusted-firmware/plat/socionext/uniphier
Masahiro Yamada c64873ab94 uniphier: make uniphier_mmap_setup() work with PIE
BL2_BASE, BL31_BASE, and BL32_BASE are defined in platform_def.h,
that is, determined at link-time.

On the other hand, BL2_END, BL31_END, and BL32_END are derived from
the symbols produced by the linker scripts. So, they are fixed-up
at run-time if ENABLE_PIE is enabled.

To make it work in a position-indepenent manner, use BL_CODE_BASE and
BL_END, both of which are relocatable.

Change-Id: Ic179a7c60eb64c5f3024b178690b3ac7cbd7521b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-01-24 22:34:50 +09:00
..
include uniphier: use more mmap_add_dynamic_region() for loading images 2020-01-24 22:34:50 +09:00
tsp uniphier: make uniphier_mmap_setup() work with PIE 2020-01-24 22:34:50 +09:00
platform.mk uniphier: turn on ENABLE_PIE 2020-01-24 22:34:25 +09:00
uniphier.h uniphier: make uniphier_mmap_setup() work with PIE 2020-01-24 22:34:50 +09:00
uniphier_bl2_setup.c uniphier: make uniphier_mmap_setup() work with PIE 2020-01-24 22:34:50 +09:00
uniphier_bl31_setup.c uniphier: make uniphier_mmap_setup() work with PIE 2020-01-24 22:34:50 +09:00
uniphier_boot_device.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_cci.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_console.S uniphier: set CONSOLE_FLAG_TRANSLATE_CRLF and clean up console driver 2019-09-03 09:08:16 +00:00
uniphier_console.h uniphier: support console based on multi-console 2019-07-05 18:43:16 +09:00
uniphier_console_setup.c uniphier: set CONSOLE_FLAG_TRANSLATE_CRLF and clean up console driver 2019-09-03 09:08:16 +00:00
uniphier_emmc.c uniphier: set buffer offset and length for io_block dynamically 2020-01-24 22:34:50 +09:00
uniphier_gicv3.c uniphier: fix typo and coding style 2019-07-31 16:35:29 +09:00
uniphier_helpers.S uniphier: support Socionext UniPhier platform 2017-06-13 00:32:57 +09:00
uniphier_image_desc.c uniphier: run BL33 at EL2 2019-12-26 12:14:03 +09:00
uniphier_io_storage.c uniphier: set buffer offset and length for io_block dynamically 2020-01-24 22:34:50 +09:00
uniphier_nand.c uniphier: set buffer offset and length for io_block dynamically 2020-01-24 22:34:50 +09:00
uniphier_psci.c uniphier: call uniphier_scp_is_running() only when on-chip STM is supported 2019-12-25 18:36:30 +09:00
uniphier_rotpk.S uniphier: move ROTPK hash to .rodata section 2017-10-18 21:57:34 +09:00
uniphier_scp.c uniphier: pass SCP base address as a function parameter 2020-01-24 22:34:50 +09:00
uniphier_smp.S uniphier: support Socionext UniPhier platform 2017-06-13 00:32:57 +09:00
uniphier_soc_info.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_syscnt.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_tbbr.c Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
uniphier_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_usb.c uniphier: set buffer offset and length for io_block dynamically 2020-01-24 22:34:50 +09:00
uniphier_xlat_setup.c uniphier: make uniphier_mmap_setup() work with PIE 2020-01-24 22:34:50 +09:00