arm-trusted-firmware/plat
Julius Werner 985ee0b7e8 drivers/console: Link console framework code by default
This patch makes the build system link the console framework code by
default, like it already does with other common libraries (e.g. cache
helpers). This should not make a difference in practice since TF is
linked with --gc-sections, so the linker will garbage collect all
functions and data that are not referenced by any other code. Thus, if a
platform doesn't want to include console code for size reasons and
doesn't make any references to console functions, the code will not be
included in the final binary.

To avoid compatibility issues with older platform ports, only make this
change for the MULTI_CONSOLE_API.

Change-Id: I153a9dbe680d57aadb860d1c829759ba701130d3
Signed-off-by: Julius Werner <jwerner@chromium.org>
2018-12-06 16:13:50 -08:00
..
allwinner drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
arm Merge pull request #1696 from satheesbalya-arm/sb1/sb1_2406_romlib_juno 2018-11-27 09:06:15 +01:00
common plat/common/crash_console_helpers.S: Fix MULTI_CONSOLE_API support 2018-12-06 16:10:32 -08:00
hisilicon hikey: increase delay after eMMC initialized 2018-11-15 09:01:40 -06:00
imx drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
layerscape drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
marvell drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
mediatek Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
meson/gxbb drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
nvidia/tegra Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
qemu Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
renesas/rcar rcar-gen3: control RPC hyper-flash access 2018-11-20 10:45:55 +01:00
rockchip drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
rpi3 drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
socionext Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
st/stm32mp1 drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
ti/k3 drivers/console: Link console framework code by default 2018-12-06 16:13:50 -08:00
xilinx Merge pull request #1605 from sivadur/integration 2018-11-12 10:56:41 +01:00