summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/fsp1_0/Kconfig11
-rw-r--r--src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c2
2 files changed, 13 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp1_0/Kconfig b/src/drivers/intel/fsp1_0/Kconfig
index c7f6c18f86..b26976aee7 100644
--- a/src/drivers/intel/fsp1_0/Kconfig
+++ b/src/drivers/intel/fsp1_0/Kconfig
@@ -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
diff --git a/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c b/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c
index b64efce4ae..ef6212eb4b 100644
--- a/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c
+++ b/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c
@@ -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
*/