diff options
author | Vic (Chun-Ju) Yang <victoryang@chromium.org> | 2013-11-28 12:08:40 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-12-02 04:54:18 +0000 |
commit | 3f02192460f5c647f6539de161e36d5b4392567b (patch) | |
tree | 179812c57fcd6bb2d433035582cb297dc4253c3d /chip/mec1322/registers.h | |
parent | 0e0bc8bbbdfd29e6e6e4efc43b60e0ac42e1dd77 (diff) | |
download | chrome-ec-3f02192460f5c647f6539de161e36d5b4392567b.tar.gz |
mec1322: Check/save reset cause
So far we can only reliably sense a watchdog reset, but this
saving/checking reset cause will at least make 'ap-off' flag work.
BUG=chrome-os-partner:24107
TEST='waitms 2000' and see reset cause = 'watchdog'
TEST='reboot ap-off' and see reset cause includes 'ap-off'
TEST='reboot preserve' and see previous reset cause is preserved.
BRANCH=None
Change-Id: Id47a72d615489c9d9cd0b8761cfa699f08c724df
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/178277
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/mec1322/registers.h')
0 files changed, 0 insertions, 0 deletions