From 025fb1737203b4a9ff1eb3b57ff9c28fc89cb16d Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Tue, 1 Mar 2022 11:36:22 +0800 Subject: soc/mediatek: remove unused RTC_GPIO_USER_MASK RTC_GPIO_USER_MASK is not used in any drivers, so we remove them. BUG=none TEST=build pass Signed-off-by: Rex-BC Chen Change-Id: I0a15d5da142bb38feb595610d69566330e31fedd Reviewed-on: https://review.coreboot.org/c/coreboot/+/62457 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/common/rtc_mt6359p.c | 2 -- src/soc/mediatek/mt8173/rtc.c | 2 -- src/soc/mediatek/mt8183/rtc.c | 2 -- src/soc/mediatek/mt8186/rtc.c | 2 -- 4 files changed, 8 deletions(-) (limited to 'src') diff --git a/src/soc/mediatek/common/rtc_mt6359p.c b/src/soc/mediatek/common/rtc_mt6359p.c index b5c381b50d..2b5611bb15 100644 --- a/src/soc/mediatek/common/rtc_mt6359p.c +++ b/src/soc/mediatek/common/rtc_mt6359p.c @@ -9,8 +9,6 @@ #include #include -#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8)) - static struct pmif *pmif_arb = NULL; void rtc_read(u16 addr, u16 *rdata) diff --git a/src/soc/mediatek/mt8173/rtc.c b/src/soc/mediatek/mt8173/rtc.c index d60f722564..326a951096 100644 --- a/src/soc/mediatek/mt8173/rtc.c +++ b/src/soc/mediatek/mt8173/rtc.c @@ -7,8 +7,6 @@ #include #include -#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8)) - /* initialize rtc related gpio */ static bool rtc_gpio_init(void) { diff --git a/src/soc/mediatek/mt8183/rtc.c b/src/soc/mediatek/mt8183/rtc.c index e90aa9df6e..40830b033f 100644 --- a/src/soc/mediatek/mt8183/rtc.c +++ b/src/soc/mediatek/mt8183/rtc.c @@ -8,8 +8,6 @@ #include #include -#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8)) - /* initialize rtc setting of using dcxo clock */ static bool rtc_enable_dcxo(void) { diff --git a/src/soc/mediatek/mt8186/rtc.c b/src/soc/mediatek/mt8186/rtc.c index 7e38742ca2..528f42b3ff 100644 --- a/src/soc/mediatek/mt8186/rtc.c +++ b/src/soc/mediatek/mt8186/rtc.c @@ -13,8 +13,6 @@ #include #include -#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8)) - /* Initialize RTC setting of using DCXO clock */ static bool rtc_enable_dcxo(void) { -- cgit v1.2.3