Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/62457 )
Change subject: soc/mediatek: remove unused RTC_GPIO_USER_MASK ......................................................................
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 rex-bc.chen@mediatek.com Change-Id: I0a15d5da142bb38feb595610d69566330e31fedd Reviewed-on: https://review.coreboot.org/c/coreboot/+/62457 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Yu-Ping Wu yupingso@google.com --- M src/soc/mediatek/common/rtc_mt6359p.c M src/soc/mediatek/mt8173/rtc.c M src/soc/mediatek/mt8183/rtc.c M src/soc/mediatek/mt8186/rtc.c 4 files changed, 0 insertions(+), 8 deletions(-)
Approvals: build bot (Jenkins): Verified Yu-Ping Wu: Looks good to me, approved
diff --git a/src/soc/mediatek/common/rtc_mt6359p.c b/src/soc/mediatek/common/rtc_mt6359p.c index b5c381b..2b5611b 100644 --- a/src/soc/mediatek/common/rtc_mt6359p.c +++ b/src/soc/mediatek/common/rtc_mt6359p.c @@ -9,8 +9,6 @@ #include <soc/rtc_common.h> #include <timer.h>
-#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 d60f722..326a951 100644 --- a/src/soc/mediatek/mt8173/rtc.c +++ b/src/soc/mediatek/mt8173/rtc.c @@ -7,8 +7,6 @@ #include <soc/pmic_wrap.h> #include <types.h>
-#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 e90aa9d..40830b0 100644 --- a/src/soc/mediatek/mt8183/rtc.c +++ b/src/soc/mediatek/mt8183/rtc.c @@ -8,8 +8,6 @@ #include <soc/pmic_wrap.h> #include <timer.h>
-#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 7e38742..528f42b 100644 --- a/src/soc/mediatek/mt8186/rtc.c +++ b/src/soc/mediatek/mt8186/rtc.c @@ -13,8 +13,6 @@ #include <soc/pmic_wrap.h> #include <timer.h>
-#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8)) - /* Initialize RTC setting of using DCXO clock */ static bool rtc_enable_dcxo(void) {
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.