From 87d492fbceeb8178a9bc5d00897944ff186656a0 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 16 Jul 2015 12:25:01 -0700 Subject: arm64: Set LOG_LEVEL=0 for BL31 if coreboot does not use serial Even if DEBUG=0, BL31 puts NOTICE(..) messages on serial console. Set LOG_LEVEL=0 if coreboot does not use serial. BUG=None BRANCH=None TEST=Compiles successfully and no console output from bl31 for production images. Change-Id: Ie77bcac3e2a0d314545b6811327c413536c77fb9 Signed-off-by: Patrick Georgi Original-Commit-Id: e8e3bcbf6249c80850a87dd66f34d3ff36158641 Original-Change-Id: I1415a3816cd2fa9dd05bcbd36ac0abc3f2759960 Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/286150 Original-Tested-by: Furquan Shaikh Original-Reviewed-by: Julius Werner Original-Commit-Queue: Furquan Shaikh Original-Trybot-Ready: Furquan Shaikh Reviewed-on: http://review.coreboot.org/11014 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/arch/arm64/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch') diff --git a/src/arch/arm64/Makefile.inc b/src/arch/arm64/Makefile.inc index 4cf012a358..e7ee84c0a7 100644 --- a/src/arch/arm64/Makefile.inc +++ b/src/arch/arm64/Makefile.inc @@ -192,6 +192,9 @@ endif # Build ARM TF in debug mode (with serial output) if coreboot uses serial ifeq ($(CONFIG_CONSOLE_SERIAL),y) BL31_MAKEARGS += DEBUG=1 +else +# Turn off NOTICE messages from BL31 if coreboot does not use serial +BL31_MAKEARGS += LOG_LEVEL=0 endif # CONFIG_CONSOLE_SERIAL # Avoid build/release|build/debug distinction by overriding BUILD_PLAT directly -- cgit v1.2.3