summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-11-04 14:17:02 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-09 12:49:36 -0800
commitdd5b2e6eb7e214eabc7c8a90581841b4f3eaf2c0 (patch)
treed19237a7a523e0131f7e73f19451001822728afa
parent7b69a258f6fedd507d4838457885c6331c106048 (diff)
downloadchrome-ec-dd5b2e6eb7e214eabc7c8a90581841b4f3eaf2c0.tar.gz
common: button: Add items to .bss.slow.
BUG=chrome-os-partner:46056 BUG=chrome-os-partner:46063 BRANCH=None TEST=Enable CONFIG_REPLACE_LOADER_WITH_BSS_SLOW on GLaDOS. Build, flash, and verify EC and AP boot. Press power buttons, volume buttons, and verify all functional. TEST='sysjump rw' and repeat the above tests. TEST=make -j buildall tests CQ-DEPEND=CL:311209 Change-Id: I5dfb9003e2da1660400c04938b4f3106817ffc02 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/311412 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--common/button.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/button.c b/common/button.c
index b3e4d2e0ef..89e6d409e2 100644
--- a/common/button.c
+++ b/common/button.c
@@ -22,9 +22,9 @@ struct button_state_t {
int debounced_pressed;
};
-static struct button_state_t state[CONFIG_BUTTON_COUNT];
+static struct button_state_t __bss_slow state[CONFIG_BUTTON_COUNT];
-static uint64_t next_deferred_time;
+static uint64_t __bss_slow next_deferred_time;
/*
* Whether a button is currently pressed.