summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-05-16 15:03:53 -0600
committerchrome-bot <chrome-bot@chromium.org>2019-05-17 18:37:29 -0700
commitcd45a75e8c0dea45b94dc530fde7c86cc698fd2d (patch)
tree4bbdb9b091c4c53067882f9f6aa285fd9f1012ec /include
parent7495960f1f6f780fa63a57b9caaddbb82bdd2a32 (diff)
downloadchrome-ec-cd45a75e8c0dea45b94dc530fde7c86cc698fd2d.tar.gz
common: chip_save_reset_flags takes uint32_t
The getters and setters for the reset flags should take and return the same type. `uint32_t' seems the more appropraiate type than `int', so change the setter to take `uint32_t'. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I50928a114858dd51034a048520efa849f5182bd0 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1615648 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system.h b/include/system.h
index 0411ab71eb..e1eec86998 100644
--- a/include/system.h
+++ b/include/system.h
@@ -37,7 +37,7 @@
#define RESET_FLAG_AP_WATCHDOG BIT(18) /* AP experienced a watchdog reset */
/* Per chip implementation to save/read raw RESET_FLAG_ flags. */
-void chip_save_reset_flags(int flags);
+void chip_save_reset_flags(uint32_t flags);
uint32_t chip_read_reset_flags(void);
/* System images */