diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-05-16 15:03:53 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-17 18:37:29 -0700 |
commit | cd45a75e8c0dea45b94dc530fde7c86cc698fd2d (patch) | |
tree | 4bbdb9b091c4c53067882f9f6aa285fd9f1012ec /chip/npcx/system.c | |
parent | 7495960f1f6f780fa63a57b9caaddbb82bdd2a32 (diff) | |
download | chrome-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 'chip/npcx/system.c')
-rw-r--r-- | chip/npcx/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c index aa0c6fbb51..c37b85934b 100644 --- a/chip/npcx/system.c +++ b/chip/npcx/system.c @@ -317,7 +317,7 @@ static void chip_panic_data_restore(void) } #endif /* CONFIG_CHIP_PANIC_BACKUP */ -void chip_save_reset_flags(int flags) +void chip_save_reset_flags(uint32_t flags) { bbram_data_write(BBRM_DATA_INDEX_SAVED_RESET_FLAGS, flags); } |