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:
committed by
Patrick Rudolph
parent
79131f8323
commit
95c021b63a
@@ -34,6 +34,17 @@ config DCACHE_RAM_SIZE
|
|||||||
hex
|
hex
|
||||||
default 0x4000
|
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
|
if HAVE_FSP_BIN
|
||||||
|
|
||||||
config FSP_FILE
|
config FSP_FILE
|
||||||
|
@@ -69,6 +69,8 @@ static void ConfigureDefaultUpdData(UPD_DATA_REGION *UpdData)
|
|||||||
if (!IS_ENABLED(CONFIG_CONSOLE_SERIAL))
|
if (!IS_ENABLED(CONFIG_CONSOLE_SERIAL))
|
||||||
UpdData->SerialPortType = 0;
|
UpdData->SerialPortType = 0;
|
||||||
|
|
||||||
|
UpdData->DebugOutputLevel = CONFIG_FSP_1_0_DEBUG_LEVEL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory Down
|
* Memory Down
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user