diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-01-05 15:43:01 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-09 14:45:04 +0000 |
commit | c23336ed7778178008288b71256603ecb1574d37 (patch) | |
tree | 12117209a8f5430c374292a00155eaa6b3a8420b /src/mainboard | |
parent | 3738e7408d6b12fcc4e29aeda5973e632198a344 (diff) | |
download | coreboot-c23336ed7778178008288b71256603ecb1574d37.tar.gz coreboot-c23336ed7778178008288b71256603ecb1574d37.tar.bz2 coreboot-c23336ed7778178008288b71256603ecb1574d37.zip |
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/ibm/sbp1/romstage.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mainboard/ibm/sbp1/romstage.c b/src/mainboard/ibm/sbp1/romstage.c index f5b081b3cdfc..5cda689162f7 100644 --- a/src/mainboard/ibm/sbp1/romstage.c +++ b/src/mainboard/ibm/sbp1/romstage.c @@ -279,8 +279,13 @@ void mainboard_memory_init_params(FSPM_UPD *mupd) /* 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; |