coreboot-kgpe-d16/src
Reka Norman e46a977541 mb/google/nissa: Rework LTE GPIO configuration
Currently, the LTE pins are enabled in gpio.c, then disabled in
fw_config.c if LTE is not present. However, since there's a short delay
between mainboard_init() and fw_config_handle(), this means that when
LTE is not present GPP_H19 (SOC_I2C_SUB_INT_ODL, used for the SAR
sensor) will be floating for a short period of time.

Rework the GPIO config so that the LTE pins are disabled in the
baseboard, then enabled in fw_config.c for variants using LTE. However,
this doesn't work for WWAN_EN and WWAN_RST_L since they need to be
enabled in bootblock. So these are instead enabled in the variant
gpio.c, then disabled in fw_config.c if LTE is not present.

BUG=None
TEST=LTE still works on nivviks

Change-Id: I9d8cbdff5a0dc9bdee87ee0971bc170409d925a2
Signed-off-by: Reka Norman <rekanorman@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64270
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Kangheui Won <khwon@chromium.org>
2022-05-19 11:06:38 +00:00
..
acpi ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00
arch arch/x86: Make sure bootblock gets buildtested 2022-05-18 04:30:42 +00:00
commonlib commonlib: Add timestamp IDs for Chrome OS hypervisor 2022-05-11 17:06:01 +00:00
console
cpu arch/x86/postcar_loader.c: Change prepare_and_run_postcar signature 2022-05-16 07:05:59 +00:00
device arch/x86/ebda.c: Move setting up ebda to a BS hook 2022-05-17 11:24:12 +00:00
drivers drivers/intel/fsp2_0: Avoid hardcoding `log_level` for FSP debug handler 2022-05-19 10:22:42 +00:00
ec rules.h: Use more consistent naming 2022-05-16 21:52:22 +00:00
include rules.h: Use more consistent naming 2022-05-16 21:52:22 +00:00
lib lib/Makefile.inc: Correct filename to master_header_pointer.c 2022-05-17 17:44:40 +00:00
mainboard mb/google/nissa: Rework LTE GPIO configuration 2022-05-19 11:06:38 +00:00
northbridge drivers/amd/agesa: Use prepare_and_run_postcar 2022-05-16 07:05:30 +00:00
security drivers/i2c/tpm: Work around missing firmware_version in Ti50 < 0.0.15 2022-05-16 04:51:13 +00:00
soc soc/intel/common/block/smbus: Deduplicate some code 2022-05-19 11:05:27 +00:00
southbridge sb/amd/agesa/hudson/hudson.c: Use BIT() macros 2022-05-16 02:58:36 +00:00
superio superio/nuvoton/nct6687d: Add early support for NCT6687D 2022-05-16 13:11:00 +00:00
vendorcode rules.h: Use more consistent naming 2022-05-16 21:52:22 +00:00
Kconfig Kconfig: Have CONFIG_ASAN depend on COMPILER_GCC 2022-05-13 10:59:37 +00:00