From f73b3f2ff620ce68273d7bc39a708057e33a79c7 Mon Sep 17 00:00:00 2001
From: Joakim Bech <joakim.bech@linaro.org>
Date: Thu, 5 May 2022 17:05:33 +0200
Subject: [PATCH] tf-a/qemu v8: Change LOG_LEVEL to 40 when DEBUG=1

With LOG_LEVEL=50 and DEBUG=1, BL31 becomes too big, with LOG_LEVEL=40
we will miss a few debug prints, but it will at produce a valid binary
and more importantly, you'll get an elf-file with all debug symbols,
i.e., it's GDB makes up for the missing prints.

Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
---
 qemu_v8.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu_v8.mk b/qemu_v8.mk
index 5df045c..41bb09a 100644
--- a/qemu_v8.mk
+++ b/qemu_v8.mk
@@ -152,7 +152,7 @@ ifeq ($(TF_A_DEBUG),0)
 TF_A_LOGLVL ?= 30
 TF_A_OUT = $(TF_A_PATH)/build/qemu/release
 else
-TF_A_LOGLVL ?= 50
+TF_A_LOGLVL ?= 40
 TF_A_OUT = $(TF_A_PATH)/build/qemu/debug
 endif
 
-- 
GitLab