summaryrefslogtreecommitdiff
path: root/src/soc/intel/pantherlake
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-09-04 23:51:09 +0530
committerSubrata Banik <subratabanik@google.com>2024-09-07 08:25:49 +0000
commit9947d545774946f75a432e75ef09aa7805fbb0d4 (patch)
tree3ab04cd9fb36f7284e9902a326c5bec31b870215 /src/soc/intel/pantherlake
parentb14ec5fbab3a7e74853b24af103ba8e9409a7d66 (diff)
drivers/intel/fsp2_0: Add Kconfig option to control MBP HOB creation
This patch adds a new Kconfig option `FSP_PUBLISH_MBP_HOB` to control the creation of the ME_BIOS_PAYLOAD_HOB (MBP HOB) by FSP. Disabling this option can improve boot time on platforms that do not utilize the MBP HOB, such as ChromeOS devices. The option is disabled by default on ChromeOS and enabled by default on other platforms. On ADL-P based platforms, this option is forced to be enabled as ADL-P FSP relies on MBP HOB for ChipsetInit version for ChipsetInit sync. Removed SoC specific implementation of `FSP_PUBLISH_MBP_HOB` config from MTL and TGL config file. TEST=Tested on ADL-P and ADL-N platforms. Verified that MBP HOB is created when `FSP_PUBLISH_MBP_HOB` is enabled and not created when it is disabled. Also verified that the system boots successfully in both cases. Change-Id: I21da00259c0b9bcca6f545291a6259e9cce8d900 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84217 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/soc/intel/pantherlake')
-rw-r--r--src/soc/intel/pantherlake/Kconfig8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/soc/intel/pantherlake/Kconfig b/src/soc/intel/pantherlake/Kconfig
index 9a5fc61fb1..e5f7c9201e 100644
--- a/src/soc/intel/pantherlake/Kconfig
+++ b/src/soc/intel/pantherlake/Kconfig
@@ -248,12 +248,4 @@ config BUILDING_WITH_DEBUG_FSP
help
Set this option if debug build of FSP is used.
-config FSP_PUBLISH_MBP_HOB
- bool
- default n if CHROMEOS
- default y
- help
- This is to control creation of ME_BIOS_PAYLOAD_HOB (MBP HOB) by FSP.
- Disabling it for the platforms, which do not use MBP HOB, can improve the boot time.
-
endif