soc/intel/alderlake: 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.

Only ADL-N FSP has the required support to skip the MBP HOB and
enabling it is saving the Boot time.

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

Signed-off-by: V Sowmya <v.sowmya@intel.com>
Change-Id: Iddeb2c652fac9513b14139d6f732d333bbb989d0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66441
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Reka Norman <rekanorman@chromium.org>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h
index f54cac2..06d1ef5 100644
--- a/src/soc/intel/alderlake/chip.h
+++ b/src/soc/intel/alderlake/chip.h
@@ -637,6 +637,12 @@
 	 * Set this to 1 in order to disable Package C-state demotion.
 	 */
 	bool disable_package_c_state_demotion;
+
+	/*
+	 * 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_alderlake_config config_t;
diff --git a/src/soc/intel/alderlake/romstage/fsp_params.c b/src/soc/intel/alderlake/romstage/fsp_params.c
index 337c4a6..71a1a5c 100644
--- a/src/soc/intel/alderlake/romstage/fsp_params.c
+++ b/src/soc/intel/alderlake/romstage/fsp_params.c
@@ -224,6 +224,9 @@
 							ARRAY_SIZE(path));
 	if (is_dev_enabled(dev))
 		m_cfg->CnviDdrRfim = wifi_generic_cnvi_ddr_rfim_enabled(dev);
+
+	/* Skip MBP HOB */
+	m_cfg->SkipMbpHob = config->skip_mbp_hob;
 }
 
 static void fill_fspm_audio_params(FSP_M_CONFIG *m_cfg,