From 13b27a376e078456d2bb87c2f7ed257023e3e027 Mon Sep 17 00:00:00 2001 From: Teddy Shih Date: Fri, 6 May 2022 11:51:21 +0800 Subject: mb/google/dedede/beadrix: Update FW_CONFIG probe for daughter board LTE To make sure daughter board LTE existing, we update probe to DB ports value of FW_CONFIG field, (https://partnerissuetracker.corp.google.com/issues/226910787#comment11) as well as, refer to Google Henry and Ivan comments (https://partnerissuetracker.corp.google.com/issues/226910787#comment14) BRANCH=dedede BUG=b:226910787 TEST=on beadrix, verified by FW_NAME=beadrix emerge-dedede coreboot. Signed-off-by: Teddy Shih Change-Id: I9ab4412b614ec665fbafc998756b805591982b65 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64081 Tested-by: build bot (Jenkins) Reviewed-by: Ivan Chen Reviewed-by: Super Ni Reviewed-by: Henry Sun Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/dedede/variants/beadrix/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/dedede/variants/beadrix/gpio.c b/src/mainboard/google/dedede/variants/beadrix/gpio.c index 2af138dfa8..c1a41a3327 100644 --- a/src/mainboard/google/dedede/variants/beadrix/gpio.c +++ b/src/mainboard/google/dedede/variants/beadrix/gpio.c @@ -93,7 +93,7 @@ const struct pad_config *variant_override_gpio_table(size_t *num) static void fw_config_handle(void *unused) { - if (!fw_config_probe(FW_CONFIG(LTE, LTE_PRESENT))) + if (!fw_config_probe(FW_CONFIG(DB_PORTS, DB_PORTS_1C_LTE))) gpio_configure_pads(lte_disable_pads, ARRAY_SIZE(lte_disable_pads)); } BOOT_STATE_INIT_ENTRY(BS_DEV_ENABLE, BS_ON_ENTRY, fw_config_handle, NULL); -- cgit v1.2.3