summaryrefslogtreecommitdiff
path: root/board/ryu_sh/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ryu_sh/board.c')
-rw-r--r--board/ryu_sh/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ryu_sh/board.c b/board/ryu_sh/board.c
index 8a0ffe7968..c6af0f8388 100644
--- a/board/ryu_sh/board.c
+++ b/board/ryu_sh/board.c
@@ -9,6 +9,7 @@
#include "gpio.h"
#include "hooks.h"
#include "i2c.h"
+#include "power.h"
#include "registers.h"
#include "task.h"
#include "util.h"
@@ -21,6 +22,12 @@ static void board_init(void)
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
+/* power signal list. Must match order of enum power_signal. */
+const struct power_signal_info power_signal_list[] = {
+ {GPIO_AP_IN_SUSPEND, 1, "SUSPEND_ASSERTED"},
+};
+BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);
+
/* I2C ports */
const struct i2c_port_t i2c_ports[] = {
{"master", I2C_PORT_MASTER, 100,