summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/include
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2021-01-06 15:27:13 +0800
committerHung-Te Lin <hungte@chromium.org>2021-01-07 02:02:51 +0000
commit54f8b9ee7428068f0acb27d43d70d95c64b1a7ba (patch)
treee3ffe11b4f78a2643c8bef51b38d4a2288438c5a /src/soc/mediatek/mt8183/include
parent9990a172004354b6ccae7bca10bdab2b4b7b0bd9 (diff)
soc/mediatek: rtc: Use `bool` as return type
BUG=b:176307061 TEST=emerge-asurada coreboot; emerge-kukui coreboot emerge-oak coreboot boot to shell on Asurada Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: Id31fa04edc2920c1767d9f08ab7af0ab4a15bc24 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49137 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r--src/soc/mediatek/mt8183/include/soc/rtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8183/include/soc/rtc.h b/src/soc/mediatek/mt8183/include/soc/rtc.h
index f7c189f5ae..7ca054a940 100644
--- a/src/soc/mediatek/mt8183/include/soc/rtc.h
+++ b/src/soc/mediatek/mt8183/include/soc/rtc.h
@@ -5,6 +5,7 @@
#include <soc/pmic_wrap_common.h>
#include <soc/rtc_common.h>
+#include <stdbool.h>
/* RTC registers */
enum {
@@ -205,7 +206,7 @@ enum {
/* external API */
void rtc_bbpu_power_on(void);
int rtc_init(int recover);
-int rtc_gpio_init(void);
+bool rtc_gpio_init(void);
void rtc_boot(void);
u16 rtc_get_frequency_meter(u16 val, u16 measure_src, u16 window_size);
void mt6358_dcxo_disable_unused(void);