summaryrefslogtreecommitdiff
path: root/plat/ti
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2018-11-27 17:50:28 -0800
committerJulius Werner <jwerner@chromium.org>2018-12-06 16:13:50 -0800
commit985ee0b7e8d039105de48f60c0195f391f86a625 (patch)
tree3bc1b97439d2725dc57e2775b813c6f8543aa613 /plat/ti
parent0f8aee4e45d3e74f5ebb385c8afcdee6c3b4c73a (diff)
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>
Diffstat (limited to 'plat/ti')
-rw-r--r--plat/ti/k3/common/plat_common.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/plat/ti/k3/common/plat_common.mk b/plat/ti/k3/common/plat_common.mk
index fbd79b4a..9b3e7d84 100644
--- a/plat/ti/k3/common/plat_common.mk
+++ b/plat/ti/k3/common/plat_common.mk
@@ -39,7 +39,6 @@ PLAT_INCLUDES += \
-I${PLAT_PATH}/common/drivers/ti_sci \
K3_CONSOLE_SOURCES += \
- drivers/console/aarch64/console.S \
drivers/ti/uart/aarch64/16550_console.S \
${PLAT_PATH}/common/k3_console.c \