intel/fsp1_0: Add option to select FSP debug level

Useful for debugging FSP.

Change-Id: I06e837cf1b051c55a531c3361e94fa1449bc8526
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/30741
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
This commit is contained in:
Patrick Rudolph 2019-01-08 11:09:37 +01:00 committed by Patrick Rudolph
parent 79131f8323
commit 95c021b63a
2 changed files with 13 additions and 0 deletions

View file

@ -34,6 +34,17 @@ config DCACHE_RAM_SIZE
hex
default 0x4000
config FSP_1_0_DEBUG_LEVEL
int "FSP debug level (0-3)"
default 0
range 0 3
help
Select the debug level, where:
0: DISABLED
1: MINIMUM
2: NORMAL
3: MAXIMUM
if HAVE_FSP_BIN
config FSP_FILE

View file

@ -69,6 +69,8 @@ static void ConfigureDefaultUpdData(UPD_DATA_REGION *UpdData)
if (!IS_ENABLED(CONFIG_CONSOLE_SERIAL))
UpdData->SerialPortType = 0;
UpdData->DebugOutputLevel = CONFIG_FSP_1_0_DEBUG_LEVEL;
/*
* Memory Down
*/