summaryrefslogtreecommitdiff
path: root/board/brya/board.c
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-03-04 17:01:13 -0800
committerCommit Bot <commit-bot@chromium.org>2021-03-05 06:21:23 +0000
commitaf96d6ad9f767dd223ede76fb58b7461b515b494 (patch)
tree3efe7d6f9246e469410eddcbd98a5125b963d8ee /board/brya/board.c
parente4eb9d80a7ea176df7d4fa423b47ee5da9d41200 (diff)
downloadchrome-ec-af96d6ad9f767dd223ede76fb58b7461b515b494.tar.gz
brya: Enable power button
This enables the power button feature form the EC to the SoC. BRANCH=none BUG=b:173575131 TEST=buildall passes Change-Id: Ife5eaa37d269ab4fa5a72be4fec1dec7c4536749 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2738917 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/brya/board.c')
-rw-r--r--board/brya/board.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/board/brya/board.c b/board/brya/board.c
index 6d799b8bb6..449fabc59d 100644
--- a/board/brya/board.c
+++ b/board/brya/board.c
@@ -6,6 +6,7 @@
#include "common.h"
#include "cbi_ec_fw_config.h"
+#include "power_button.h"
#include "power.h"
#include "switch.h"
#include "throttle_ap.h"
@@ -31,14 +32,6 @@ const union brya_cbi_fw_config fw_config_defaults = {
};
/*
- * remove when we enable CONFIG_POWER_BUTTON
- */
-
-void power_button_interrupt(enum gpio_signal signal)
-{
-}
-
-/*
* remove when we enable CONFIG_VOLUME_BUTTONS
*/