diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2018-06-29 08:59:19 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-29 14:16:30 -0700 |
commit | 158e785ffa1cbab14023bcdef506ff49654ea2a5 (patch) | |
tree | 6abbbcc349cb94727e041d93fd9d0fbcf686355a /board/meowth_fp | |
parent | fde9042dbac2a273f5607e659b8e5a98c301e42b (diff) | |
download | chrome-ec-158e785ffa1cbab14023bcdef506ff49654ea2a5.tar.gz |
nocturne_fp: [HACK] Disable STOP mode by default
As a temporary patch while we are debugging a STOP mode issue on STM32H7,
set it as disabled by default to have a reliable firmware behavior.
It can be re-enabled by using the 'sleepmask' console command.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=b:75105319
TEST=flash and run on Nocturne, it boots and communicated with the AP
reliably.
Change-Id: I8d6552f611bb790b63bca8e63ebaf29e9fe027e9
Reviewed-on: https://chromium-review.googlesource.com/1119690
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Nicolas Norvez <norvez@chromium.org>
Diffstat (limited to 'board/meowth_fp')
-rw-r--r-- | board/meowth_fp/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/meowth_fp/board.c b/board/meowth_fp/board.c index 071c517d2a..5747505742 100644 --- a/board/meowth_fp/board.c +++ b/board/meowth_fp/board.c @@ -10,6 +10,7 @@ #include "hooks.h" #include "registers.h" #include "spi.h" +#include "system.h" #include "task.h" #include "util.h" @@ -67,6 +68,9 @@ static void spi_configure(void) /* Initialize board. */ static void board_init(void) { + /* TODO(b/75105319): re-enable STOP mode when it will fully work */ + disable_sleep(SLEEP_MASK_FORCE_NO_DSLEEP); + spi_configure(); /* Enable interrupt on PCH power signals */ |