From b27495d0faee5ea53a5067be2de7ec038010433a Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Wed, 29 Mar 2023 17:05:47 -0600 Subject: [PATCH] mb/google/myst: Add FW_CONFIG Add initial FW_CONFIG for the myst program. BUG=b: TEST=builds Cq-Depend: chrome-internal:5674351 Signed-off-by: Jon Murphy Change-Id: If74c3649d4e8d174d9fe00a4b896c2351ee3ab19 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74102 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/myst/Kconfig | 2 ++ .../google/myst/variants/myst/overridetree.cb | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/src/mainboard/google/myst/Kconfig b/src/mainboard/google/myst/Kconfig index 59eabe4d9c..0305e25cad 100644 --- a/src/mainboard/google/myst/Kconfig +++ b/src/mainboard/google/myst/Kconfig @@ -10,6 +10,8 @@ config BOARD_SPECIFIC_OPTIONS select BOARD_ROMSIZE_KB_16384 select EC_GOOGLE_CHROMEEC select EC_GOOGLE_CHROMEEC_ESPI + select FW_CONFIG + select FW_CONFIG_SOURCE_CHROMEEC_CBI select MAINBOARD_HAS_CHROMEOS select SOC_AMD_PHOENIX diff --git a/src/mainboard/google/myst/variants/myst/overridetree.cb b/src/mainboard/google/myst/variants/myst/overridetree.cb index 164a47ad7f..989a17ccb9 100644 --- a/src/mainboard/google/myst/variants/myst/overridetree.cb +++ b/src/mainboard/google/myst/variants/myst/overridetree.cb @@ -1,4 +1,33 @@ # SPDX-License-Identifier: GPL-2.0-or-later +fw_config + field FORM_FACTOR 0 + option FORM_FACTOR_CLAMSHELL 0 + option FORM_FACTOR_CONVERTIBLE 1 + end + field FP 1 2 + option DISABLED 0 + option UART 1 + option SPI 2 + end + field WLAN 3 4 + option WLAN_MT7922 0 + option WLAN_MT7925 1 + end + field WWAN 5 6 + option WWAN_DIASABLED 0 + option WWAN_FM101GL 1 + end + field DAUGHTERBOARD 7 9 + option DISABLED 0 + option DB_A 1 + option DB_B 2 + end + field KB_BL 10 + option DISABLED 0 + option ENABLED 1 + end +end + chip soc/amd/phoenix device domain 0 on end # domain end # chip soc/amd/phoenix