diff options
author | Tony Huang <tony-huang@quanta.corp-partner.google.com> | 2021-05-19 16:59:17 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-01 09:41:04 +0000 |
commit | 856b579fe55696147ab3361e51a042efc4302518 (patch) | |
tree | d4564b3e6fd8cdd7c5e603ee98ec6eedb694203b /src/mainboard/google/dedede/variants/baseboard/include | |
parent | ceca5dedbc13ddc31df69c0c9d9664c5c2347f19 (diff) |
mb/google/dedede/var/kracko: Update LTE USB port configuration
Update LTE USB port configuration at run-time after probing FW_CONFIG.
By default the concerned USB port takes the Type-A port configuration.
BUG=b:178092096
BRANCH=dedede
TEST=Build and boot to OS to check LTE by modem status
Change-Id: If12cc29ddda6d5c32c0bda840a3680e7bf932f89
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54671
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/baseboard/include')
-rw-r--r-- | src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h index a3dcd919d1..78e44b4ae0 100644 --- a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h @@ -5,6 +5,7 @@ #include <soc/gpio.h> #include <stdint.h> +#include <acpi/acpi_device.h> /* The next set of functions return the gpio table and fill in the number of * entries for each table. */ @@ -42,4 +43,6 @@ void variant_smi_sleep(u8 slp_typ); /* Modify devictree settings during ramstage. */ void variant_devtree_update(void); +/* Modify LTE devictree settings during ramstage. */ +void update_lte_device(struct acpi_gpio *lte_reset_gpio, struct acpi_gpio *lte_enable_gpio); #endif /*__BASEBOARD_VARIANTS_H__ */ |