aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/wilco/commands.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2019-03-13 17:35:22 -0700
committerDuncan Laurie <dlaurie@chromium.org>2019-03-15 15:31:59 +0000
commit90a96c77a90d7299127e5892cc4806aba37936a6 (patch)
tree2b455449899316fef71a1b170300afcd9c9cbaa5 /src/ec/google/wilco/commands.h
parenta29d866f1c28fe701d0aa9b167feb5532c19e5bc (diff)
ec/google/wilco: Clear S0ix support bit at boot
To ensure the power button functions as expected in firmware ensure that the EC is not in "S0ix supported OS" mode and expecting the power button to be handled by the virtual button interface. BUG=b:128409889 TEST=Verify that the power button works at the developer screen when the system is rebooted from within Chrome OS. Also ensure that it works when external warm reset signal is asserted by H1. Change-Id: Ic323515e3b8be08bac4f0f82e25f2f78c2f22833 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31903 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/wilco/commands.h')
-rw-r--r--src/ec/google/wilco/commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ec/google/wilco/commands.h b/src/ec/google/wilco/commands.h
index 53f6d0f401..9c1685b293 100644
--- a/src/ec/google/wilco/commands.h
+++ b/src/ec/google/wilco/commands.h
@@ -50,6 +50,11 @@ enum {
KB_BIOS_PROGRESS = 0xc2,
};
+enum ec_ram_addr {
+ /* Indicate support for S0ix */
+ EC_RAM_S0IX_SUPPORT = 0xb8,
+};
+
enum set_acpi_mode_cmd {
ACPI_OFF = 0,
ACPI_ON