path: root/bl31
diff options
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-09-06 16:47:35 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-09-06 17:09:57 +0100
commit46b9aa764b535178cf7c4ab85a5cc3de7a154ae4 (patch)
tree789e59f2ab4dfd0296261a1d40c323b87b924d90 /bl31
parent783fd8e00f7a58462891ff16fa3f10f635df7a12 (diff)
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 <antonio.ninodiaz@arm.com>
Diffstat (limited to 'bl31')
1 files changed, 2 insertions, 1 deletions
diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c
index 650181ddc1..5479a49865 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);