summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapil Porwal <kapilporwal@google.com>2024-02-21 16:05:36 +0000
committerSubrata Banik <subratabanik@google.com>2024-02-26 11:18:24 +0000
commit0a1d68ff807071ed55dc256bd48ecd983d3075b4 (patch)
tree5013e8f1335523f33874a5c4998c6aa30c101786
parent7fbef1b1121bd1073cdbe4c45f7e544921fb8b42 (diff)
soc/intel/alderlake: Add kconfig for Twin Lake
Mainboards using Intel Twin Lake (TWL) SoC shall select SOC_INTEL_TWINLAKE. BUG=none BRANCH=firmware-nissa-15217.B TEST=Build and boot Google/Yaviks with Twin Lake kconfig enabled Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: Ie4c5d137ee54512313344f853e7ca66d1fd25003 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80688 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/alderlake/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index 2d42cad627..6cc7555e03 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -106,9 +106,16 @@ config SOC_INTEL_RAPTORLAKE
Intel Raptorlake support. Mainboards using RPL should select
SOC_INTEL_RAPTORLAKE and SOC_INTEL_ALDERLAKE_PCH_* together.
+config SOC_INTEL_TWINLAKE
+ bool
+ select SOC_INTEL_ALDERLAKE_PCH_N
+ help
+ Intel Twinlake support. Mainboards using TWL should select
+ SOC_INTEL_TWINLAKE.
+
config SOC_INTEL_ALDERLAKE_PCH_N
bool
- select HAVE_INTEL_FSP_REPO
+ select HAVE_INTEL_FSP_REPO if !SOC_INTEL_TWINLAKE
select SOC_INTEL_ALDERLAKE
help
Choose this option if your mainboard has a PCH-N chipset.
@@ -386,6 +393,7 @@ config FSP_TYPE_IOT
config FSP_HEADER_PATH
string "Location of FSP headers"
+ default "src/vendorcode/intel/fsp/fsp2_0/twinlake/" if SOC_INTEL_TWINLAKE && !FSP_USE_REPO
default "src/vendorcode/intel/fsp/fsp2_0/alderlake_n/" if SOC_INTEL_ALDERLAKE_PCH_N && !FSP_USE_REPO
default "src/vendorcode/intel/fsp/fsp2_0/raptorlake/" if SOC_INTEL_RAPTORLAKE && !FSP_USE_REPO
default "3rdparty/fsp/RaptorLakeFspBinPkg/IoT/RaptorLakeS/Include/" if SOC_INTEL_RAPTORLAKE_PCH_S && FSP_TYPE_IOT