coreboot-kgpe-d16/src/mainboard/google/auron
Joel Kitching ae0fb762a2 chromeos: clean up "recovery" and "write protect" GPIOs
The "write protect" GPIO's cached value is never actually
read after entering depthcharge.  Ensure the value from
get_write_protect_state() is being transferred accurately,
so that we may read this GPIO value in depthcharge without
resampling.

The cached value of the "recovery" GPIO is read only on certain
boards which have a physical recovery switch.  Correct some of
the values sent to boards which presumably never read the
previously incorrect value.  Most of these inaccuracies are from
non-inverted values on ACTIVE_LOW GPIOs.

BUG=b:124141368, b:124192753, chromium:950273
TEST=make clean && make test-abuild
BRANCH=none

Change-Id: Ic17a98768703d7098480a9233b752fe5b201bd51
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32233
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-04-11 11:23:26 +00:00
..
acpi coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
variants src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
acpi_tables.c src: Drop unused 'include <arch/acpigen.h>' 2019-03-12 07:27:28 +00:00
board_info.txt
chromeos.c chromeos: clean up "recovery" and "write protect" GPIOs 2019-04-11 11:23:26 +00:00
chromeos.fmd mainboard: Enable PRESERVE flag in all vboot/chromeos FMD files 2019-03-05 20:52:06 +00:00
cmos.layout mb/*/*/cmos.layout: Fix the values for the console level 2018-01-26 17:28:56 +00:00
dsdt.asl cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
ec.c ec/google/chromeec: Add library function google_chromeec_events_init 2017-10-08 19:38:28 +00:00
ec.h mainboards: Remove unused EC event for thermal overload 2017-07-01 02:47:30 +00:00
fadt.c ACPI: Rename FADT model and set it to zero 2019-03-01 10:02:29 +00:00
hda_verb.c Add/Combine Broadwell Chromebooks using variant board scheme 2016-12-22 18:37:56 +01:00
Kconfig mb/google/{auron,jecht}: Remove duplicated HAVE_SMI_HANDLER 2019-01-03 18:07:26 +00:00
Kconfig.name google/buddy: Add board as variant of google/auron 2018-09-17 16:00:41 +00:00
mainboard.c google/buddy: Add board as variant of google/auron 2018-09-17 16:00:41 +00:00
Makefile.inc google/buddy: Add board as variant of google/auron 2018-09-17 16:00:41 +00:00
romstage.c google/auron: Clean up variant-specific romstage code 2018-09-17 16:00:34 +00:00
smihandler.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
variant.h arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00