From 46b9aa764b535178cf7c4ab85a5cc3de7a154ae4 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Thu, 6 Sep 2018 16:47:35 +0100 Subject: [PATCH] Convert BL31 error message into warning If BL32 isn't present or it fails to initialize the current code prints an error message in both debug and release builds. This is too verbose for release builds, so it has been converted into a warning. Also, it was missing a newline at the end of the message. Change-Id: I91e18d5d5864dbb19d47ecd54f174d2d8c06296c Signed-off-by: Antonio Nino Diaz --- bl31/bl31_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c index 650181dd..5479a498 100644 --- a/bl31/bl31_main.c +++ b/bl31/bl31_main.c @@ -109,7 +109,8 @@ void bl31_main(void) int32_t rc = (*bl32_init)(); if (rc != 0) { - ERROR("BL31: BL32 initialization failed (rc = %d)", rc); + WARN("BL31: BL32 initialization failed (rc = %d)\n", + rc); } } /* -- 2.30.2