mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
stm32: activate stop mode
Fully enable the EC power management. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:8866 TEST=on Snow, ensure the EC is never freezing when going out of S5. Change-Id: I1862c4122ef079c1dd8086f9e7acb4b121532fa7 Reviewed-on: https://gerrit.chromium.org/gerrit/29930 Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org> Tested-by: Rong Chang <rongchang@chromium.org> Tested-by: <arscott@google.com> Commit-Ready: <arscott@google.com>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#define US_PER_RTC_TICK (1000000 / RTC_FREQ)
|
||||
|
||||
/* On-going actions preventing to go into deep-sleep mode */
|
||||
uint32_t sleep_mask = SLEEP_MASK_FORCE;
|
||||
uint32_t sleep_mask;
|
||||
|
||||
void enable_sleep(uint32_t mask)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user