summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede')
-rw-r--r--src/mainboard/google/dedede/variants/boten/variant.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/boten/variant.c b/src/mainboard/google/dedede/variants/boten/variant.c
index 432c950190..8d60bf5ce5 100644
--- a/src/mainboard/google/dedede/variants/boten/variant.c
+++ b/src/mainboard/google/dedede/variants/boten/variant.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <acpi/acpi.h>
+#include <acpi/acpigen.h>
#include <baseboard/variants.h>
#include <delay.h>
#include <ec/google/chromeec/ec.h>
@@ -46,3 +47,11 @@ const char *get_wifi_sar_cbfs_filename(void)
return WIFI_SAR_CBFS_DEFAULT_FILENAME;
}
+
+void variant_generate_s0ix_hook(enum s0ix_entry entry)
+{
+ if (entry == S0IX_ENTRY)
+ acpigen_soc_clear_tx_gpio(GPP_D13);
+ else if (entry == S0IX_EXIT)
+ acpigen_soc_set_tx_gpio(GPP_D13);
+}