arm-trusted-firmware/plat
Masahiro Yamada 0a0a7a9ac8 linker_script: replace common read-only data with RODATA_COMMON
The common section data are repeated in many linker scripts (often
twice in each script to support SEPARATE_CODE_AND_RODATA). When you
add a new read-only data section, you end up with touching lots of
places.

After this commit, you will only need to touch bl_common.ld.h when
you add a new section to RODATA_COMMON.

Replace a series of RO section with RODATA_COMMON, which contains
6 sections, some of which did not exist before.

This is not a big deal because unneeded data should not be compiled
in the first place. I believe this should be controlled by BL*_SOURCES
in Makefiles, not by linker scripts.

When I was working on this commit, the BL1 image size increased
due to the fconf_populator. Commit c452ba159c ("fconf: exclude
fconf_dyn_cfg_getter.c from BL1_SOURCES") fixed this issue.

I investigated BL1, BL2, BL2U, BL31 for plat=fvp, and BL2-AT-EL3,
BL31, BL31 for plat=uniphier. I did not see any more  unexpected
code addition.

Change-Id: I5d14d60dbe3c821765bce3ae538968ef266f1460
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-04-02 13:30:17 +09:00
..
allwinner allwinner: H6: Fix GPIO and CCU memory map addresses 2020-03-23 11:04:46 +00:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm Merge "plat: pass -D option to BL*_CPPFLAGS instead of BL*_CFLAGS" into integration 2020-03-31 18:49:48 +00:00
common Flush dcache when storing timestamp 2020-03-27 09:41:12 -05:00
hisilicon hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
imx Merge "plat: imx: imx8qx: provide debug uart num as build param" into integration 2020-03-31 21:27:39 +00:00
intel/soc Merge "intel: Enable EMAC PHY in Intel FPGA platform" into integration 2020-02-28 10:51:49 +00:00
layerscape LS 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
marvell TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
mediatek linker_script: replace common read-only data with RODATA_COMMON 2020-04-02 13:30:17 +09:00
nvidia/tegra Merge "Tegra: fixup GIC init from the 'on_finish' handler" into integration 2020-03-31 07:42:46 +00:00
qemu TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
renesas/rcar rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rockchip TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
rpi rpi: console: Autodetect Mini-UART vs. PL011 configuration 2020-03-17 13:44:55 +00:00
socionext TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
st stm32mp1: use stm32mp_get_ddr_ns_size() function 2020-03-26 18:34:01 +01:00
ti/k3 TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
xilinx Merge "Create separate header for ARM specific SMCCC defines" into integration 2020-03-31 14:16:40 +00:00