summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-11-21 23:00:49 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-11-22 14:42:33 -0800
commitbff4bb76829cc76e32fef4ad9f8074f48e2fdb6f (patch)
tree042765d9fe7ee8a578b5b681c286489fa370aad9 /board
parentb9f5caf932ede21b58e33ecc096f28eb29b48a78 (diff)
downloadchrome-ec-bff4bb76829cc76e32fef4ad9f8074f48e2fdb6f.tar.gz
nautilus: Remove CONFIG_BUTTON_RECOVERY
Nautilus does not use buttons to trigger recovery. Remove CONFIG_BUTTON_RECOVERY. BUG=None BRANCH=None TEST=make -j buildall Change-Id: Ic9bdbd60bebb511963439844d09d5260617c77ec Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/784774 Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nautilus/board.c6
-rw-r--r--board/nautilus/board.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/board/nautilus/board.c b/board/nautilus/board.c
index 787b6ba1bc..a60bc9e62a 100644
--- a/board/nautilus/board.c
+++ b/board/nautilus/board.c
@@ -269,12 +269,6 @@ const struct temp_sensor_t temp_sensors[] = {
};
BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
-const struct button_config *recovery_buttons[] = {
- &buttons[BUTTON_VOLUME_DOWN],
- &buttons[BUTTON_VOLUME_UP],
-};
-const int recovery_buttons_count = ARRAY_SIZE(recovery_buttons);
-
static void board_pmic_disable_slp_s0_vr_decay(void)
{
/*
diff --git a/board/nautilus/board.h b/board/nautilus/board.h
index 46de5511ec..91d0f6c96b 100644
--- a/board/nautilus/board.h
+++ b/board/nautilus/board.h
@@ -18,7 +18,6 @@
#define CONFIG_ADC
#define CONFIG_BACKLIGHT_LID
#define CONFIG_BOARD_VERSION
-#define CONFIG_BUTTON_RECOVERY
#define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL
#define CONFIG_DPTF
#define CONFIG_FLASH_SIZE 0x80000