summaryrefslogtreecommitdiff
path: root/board/hatch/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/hatch/board.h')
-rw-r--r--board/hatch/board.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/board/hatch/board.h b/board/hatch/board.h
index c30afa0c3a..34d47f4b18 100644
--- a/board/hatch/board.h
+++ b/board/hatch/board.h
@@ -20,11 +20,25 @@
#define CONFIG_LOW_POWER_IDLE
#define CONFIG_HOSTCMD_ESPI
-#define CONFIG_HOSTCMD_ESPI_VW_SIGNALS
+/* #define CONFIG_HOSTCMD_ESPI_VW_SIGNALS */
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 4096
+/*
+ * Macros for GPIO signals used in common code that don't match the
+ * schematic names. Signal names in gpio.inc match the schematic and are
+ * then redefined here to so it's more clear which signal is being used for
+ * which purpose.
+ */
+#define GPIO_PCH_RSMRST_L GPIO_EC_PCH_RSMRST_L
+#define GPIO_PCH_SLP_S0_L GPIO_SLP_S0_L
+#define GPIO_CPU_PROCHOT GPIO_EC_PROCHOT_ODL
+#define GPIO_AC_PRESENT GPIO_ACOK_OD
+#define GPIO_RSMRST_L_PGOOD GPIO_PG_EC_RSMRST_L
+#define GPIO_PCH_SLP_S3_L GPIO_SLP_S3_L
+#define GPIO_PCH_SLP_S4_L GPIO_SLP_S4_L
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"