From cd45a75e8c0dea45b94dc530fde7c86cc698fd2d Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Thu, 16 May 2019 15:03:53 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1615648 Reviewed-by: Daisuke Nojiri --- include/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.1