coreboot-kgpe-d16/src
Julius Werner 7450790558 gpio: Pull down HiZ pins after reading tristate GPIO strapping
People who know a lot more about electrons and stuff than I do tell me
that leaving a HiZ pin floating without a pull resistor may waste power.
So if we find a pin to be HiZ when reading tristate strapping GPIOs, we
should make sure the internal pull-down is enabled when we're done with
it. (For pins that are externally pulled high or low, we should continue
to leave the internal pull disabled instead.)

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I1669823c8a7faab536e0441cb4c6cfeb9f696189
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44253
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Alexandru Stan <amstan@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-08-06 23:54:41 +00:00
..
acpi src/acpi: Add missing <{stdbool,stdint}.h> 2020-07-29 09:37:10 +00:00
arch arch/x86/pirq_routing.c: Drop unneeded continue 2020-08-06 11:22:11 +00:00
commonlib
console
cpu cpu/intel/common: Add intel_ht_supported function 2020-08-06 22:33:02 +00:00
device src: Use space after 'if', 'for' 2020-08-05 11:37:00 +00:00
drivers drivers/intel/fsp2_0: Do AP re-init after FSP-S if USE_INTEL_FSP_MP_INIT enable 2020-08-06 04:24:24 +00:00
ec ec/lenovo/h8: Align macro values in one column 2020-07-26 21:40:00 +00:00
include drivers/genesyslogic/gl9763e: Add driver for Genesys Logic GL9763E 2020-08-05 15:16:16 +00:00
lib gpio: Pull down HiZ pins after reading tristate GPIO strapping 2020-08-06 23:54:41 +00:00
mainboard mb/google/volteer/var/halvor: Update dq/dqs mappings 2020-08-06 19:43:44 +00:00
northbridge nb/intel/sandybridge: Drop inexistent device from DMAR 2020-08-06 11:16:46 +00:00
security security/intel/txt: Avoid shifting by a negative value 2020-08-06 11:52:21 +00:00
soc soc/intel/tigerlake: add common routine for DDR init 2020-08-06 17:42:20 +00:00
southbridge sb/intel/i82801{gx,ix,jx}/acpi/lpc.asl: Drop dead code 2020-08-05 15:46:27 +00:00
superio superio/common: Avoid NULL pointer dereference 2020-07-24 21:21:09 +00:00
vendorcode vendorcode/amd/fsp/picasso Fix type 17 smbios misalignment 2020-08-05 20:10:53 +00:00
Kconfig