Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/79791?usp=email )
Change subject: mb/ibm/sbp1: Set FSP loglevel ......................................................................
mb/ibm/sbp1: Set FSP loglevel
Change-Id: Ia97dbda30f657f0b1568364d712eaea8d134b3b0 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/mainboard/ibm/sbp1/romstage.c 1 file changed, 7 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/79791/1
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;