summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-05 15:15:29 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-05 15:15:29 +0200
commit5e21d2ee8ee533cd8aae5b2e3ba47857011b940c (patch)
treee8ad8886e1df4d6e1e376f14906ea735896bfc2e
parentab7907be985daa967288602c23f94211f76940c5 (diff)
aarch64: plat-common: only uninit console, if this is not a DEBUG build
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--plat/common/aarch64/plat_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/common/aarch64/plat_common.c b/plat/common/aarch64/plat_common.c
index 05084e19..b46a090e 100644
--- a/plat/common/aarch64/plat_common.c
+++ b/plat/common/aarch64/plat_common.c
@@ -36,7 +36,9 @@ void bl31_plat_runtime_setup(void)
* Finish the use of console driver in BL31 so that any runtime logs
* from BL31 will be suppressed.
*/
+#if !DEBUG
console_uninit();
+#endif
}
#if !ENABLE_PLAT_COMPAT