mb/ibm/sbp1: Set FSP loglevel

Change-Id: Ia97dbda30f657f0b1568364d712eaea8d134b3b0
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79791
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/mainboard/ibm/sbp1/romstage.c b/src/mainboard/ibm/sbp1/romstage.c
index f5b081b..5cda689 100644
--- a/src/mainboard/ibm/sbp1/romstage.c
+++ b/src/mainboard/ibm/sbp1/romstage.c
@@ -279,8 +279,13 @@
 	/* Determines if warnings are promoted to system level. */
 	mupd->FspmConfig.promoteWarnings = 0x0;
 
-	/* Set FSP debug message to Disable */
-	mupd->FspmConfig.serialDebugMsgLvl = 0x0;
+	if (CONFIG(DEFAULT_CONSOLE_LOGLEVEL_7) ||
+	    CONFIG(DEFAULT_CONSOLE_LOGLEVEL_8))
+		mupd->FspmConfig.serialDebugMsgLvl = 3;
+	else if (CONFIG(DEFAULT_CONSOLE_LOGLEVEL_6))
+		mupd->FspmConfig.serialDebugMsgLvl = 1;
+	else
+		mupd->FspmConfig.serialDebugMsgLvl = 0;
 
 	/* Force 256MiB MMCONF (Segment0) only */
 	mupd->FspmConfig.mmCfgSize = 0x2;