soc/intel/meteorlake: Add support to skip the MBP HOB

This patch adds the support to enable/disable skipping MBP HOB
from the devicetree based on mainboard requirement.
Porting the feature from commit 2bc54e7c00
("soc/intel/alderlake: Add support to skip the MBP HOB")

TEST=Build and boot to verify that the right value has been passed to
the FSP.

Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
Change-Id: I360d33617b9d2626fce5600e861214b0747f57b4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68416
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Wonkyu Kim 2022-10-13 13:34:27 -07:00 committed by Felix Held
parent 97e612586a
commit e5f6ff88c4
2 changed files with 9 additions and 0 deletions

View File

@ -325,6 +325,12 @@ struct soc_intel_meteorlake_config {
* Default 0.
*/
uint8_t lan_clk;
/*
* Enable or Disable Skipping MBP HOB.
* Default is set to 0 and set to 1 to skip the MBP HOB.
*/
bool skip_mbp_hob;
};
typedef struct soc_intel_meteorlake_config config_t;

View File

@ -173,6 +173,9 @@ static void fill_fspm_misc_params(FSP_M_CONFIG *m_cfg,
/* Skip GPIO configuration from FSP */
m_cfg->GpioOverride = 0x1;
/* Skip MBP HOB */
m_cfg->SkipMbpHob = config->skip_mbp_hob;
}
static void fill_fspm_audio_params(FSP_M_CONFIG *m_cfg,