diff options
author | Vic Yang <victoryang@chromium.org> | 2014-08-28 14:06:33 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-08-29 03:00:07 +0000 |
commit | 1b358e2c934c119f96bd435a3f4f12a272142400 (patch) | |
tree | cbf8530c9138203e9d50bb260888fdf077d5d724 /board | |
parent | 2f4de76850dc6323febbbcf0b207a3fa2c8b211a (diff) | |
download | chrome-ec-1b358e2c934c119f96bd435a3f4f12a272142400.tar.gz |
ryu: disable system hibernate
Hibernate is not supported on STM32F0. Disable system hibernate so that
the system doesn't auto-reboot after an hour in G3. This also benefits
us in terms of firmware size.
BUG=chrome-os-partner:31665
TEST=Boot on Ryu. Check 'hibdelay' and 'hibernate' commands are absent.
TEST=Boot Ryu from G3.
TEST=Change default hibernation delay to 1 second. Put system in G3.
Check it does not reboot.
BRANCH=None
Change-Id: Ia01d2d74bc5c22c01e29e5877bd4bd38ee7dddc8
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/214834
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/ryu/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ryu/board.h b/board/ryu/board.h index 7d3b9f5fc3..a00a1b6897 100644 --- a/board/ryu/board.h +++ b/board/ryu/board.h @@ -35,6 +35,7 @@ #undef CONFIG_TASK_PROFILING #undef CONFIG_CONSOLE_CMDHELP #define CONFIG_INDUCTIVE_CHARGING +#undef CONFIG_HIBERNATE /* * Pericom I2C workaround |