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>
This commit is contained in:
Patrick Rudolph 2024-01-05 15:43:01 +01:00 committed by Felix Held
parent 3738e7408d
commit c23336ed77
1 changed files with 7 additions and 2 deletions

View File

@ -279,8 +279,13 @@ void mainboard_memory_init_params(FSPM_UPD *mupd)
/* Determines if warnings are promoted to system level. */ /* Determines if warnings are promoted to system level. */
mupd->FspmConfig.promoteWarnings = 0x0; mupd->FspmConfig.promoteWarnings = 0x0;
/* Set FSP debug message to Disable */ if (CONFIG(DEFAULT_CONSOLE_LOGLEVEL_7) ||
mupd->FspmConfig.serialDebugMsgLvl = 0x0; 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 */ /* Force 256MiB MMCONF (Segment0) only */
mupd->FspmConfig.mmCfgSize = 0x2; mupd->FspmConfig.mmCfgSize = 0x2;