soc/intel/adl: Skip sending MBP HOB to save boot time

MBP Hob is being generated by FSP after getting data from ME.

coreboot does not consume this HOB and FSP provides an option
for bootloader to skip generation of MBP HOB. This will help in
saving ~14 ms of boot time.

Here is the data from Brya P1 Board:
Before:  955	returning from FspSiliconInit  879,432 (99,156)
After:  955    returning from FspSiliconInit 1,177,513 (84,506)

BUG=b:188577893
BRANCH=None
TEST=No functional impact on Brya system and boot time is reduced
with this patch.

Change-Id: Ibb64e4d0f4ae7212defb6704b05a78e754f75cd7
Signed-off-by: MAULIK V VAGHELA <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58289
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
MAULIK V VAGHELA 2021-10-13 11:52:17 +05:30 committed by Subrata Banik
parent 1a950d6466
commit 9a7fbbc98e
1 changed files with 3 additions and 0 deletions

View File

@ -203,6 +203,9 @@ static void fill_fspm_misc_params(FSP_M_CONFIG *m_cfg,
/* Skip GPIO configuration from FSP */ /* Skip GPIO configuration from FSP */
m_cfg->GpioOverride = 0x1; m_cfg->GpioOverride = 0x1;
/* Skip generation of MBP HOB from FSP. coreboot doesn't consume it */
m_cfg->SkipMbpHob = 1;
} }
static void fill_fspm_audio_params(FSP_M_CONFIG *m_cfg, static void fill_fspm_audio_params(FSP_M_CONFIG *m_cfg,