summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/octopus/baseboard.h3
-rw-r--r--baseboard/octopus/variant_ec_npcx796fb.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h
index e8160889eb..9311ab39ba 100644
--- a/baseboard/octopus/baseboard.h
+++ b/baseboard/octopus/baseboard.h
@@ -39,6 +39,9 @@
#define I2C_PORT_SENSOR NPCX_I2C_PORT7_0
#define I2C_ADDR_EEPROM 0xA0
+ /* Enable PSL hibernate mode. */
+ #define CONFIG_HIBERNATE_PSL
+
/* EC variant determines USB-C variant */
#define VARIANT_OCTOPUS_USBC_STANDALONE_TCPCS
diff --git a/baseboard/octopus/variant_ec_npcx796fb.c b/baseboard/octopus/variant_ec_npcx796fb.c
index 47fb14bfba..8d798fc5a7 100644
--- a/baseboard/octopus/variant_ec_npcx796fb.c
+++ b/baseboard/octopus/variant_ec_npcx796fb.c
@@ -20,10 +20,8 @@ const enum gpio_signal hibernate_wake_pins[] = {
GPIO_LID_OPEN,
GPIO_AC_PRESENT,
GPIO_POWER_BUTTON_L,
-#ifdef CONFIG_HIBERNATE_PSL
- /* EC_RST_ODL needs to wake device if PSL hibernate mode is enabled. */
+ /* EC_RST_ODL needs to wake device while in PSL hibernate. */
GPIO_EC_RST_ODL,
-#endif
};
const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);