diff options
author | Philip Chen <philipchen@google.com> | 2017-09-28 18:47:24 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-02 23:28:28 -0700 |
commit | 29dc221f98fa85efd3b351f0816c037562952753 (patch) | |
tree | bb66b768388269743124b866b7f6cf5e47f8d214 /board/reef/board.c | |
parent | b097ecdcc5785f24f6405eb8a19dce52064912a2 (diff) | |
download | chrome-ec-29dc221f98fa85efd3b351f0816c037562952753.tar.gz |
chip/stm32/clock: Allow the host to reset rtc alarm
When the host sets rtc alarm wake time = 0, it wants
to reset and disable the alarm.
Also, align the implementation in npcx with that in stm32
to check both delay_s and delay_us.
BUG=b:66971951, b:63908519
BRANCH=none
TEST='ectool rtcsetalarm 3'. After alarm goes off, run
'ectool rtcgetalarm' and then see 'Alarm not set'.
Change-Id: I693f1c72cba492e837891c716f79e2aa4da59b2a
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/691256
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Diffstat (limited to 'board/reef/board.c')
0 files changed, 0 insertions, 0 deletions