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>
This commit is contained in:
Rex-BC Chen 2022-03-01 11:36:22 +08:00 committed by Felix Held
parent d036a70d74
commit 025fb17372
4 changed files with 0 additions and 8 deletions

View File

@ -9,8 +9,6 @@
#include <soc/rtc_common.h> #include <soc/rtc_common.h>
#include <timer.h> #include <timer.h>
#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8))
static struct pmif *pmif_arb = NULL; static struct pmif *pmif_arb = NULL;
void rtc_read(u16 addr, u16 *rdata) void rtc_read(u16 addr, u16 *rdata)

View File

@ -7,8 +7,6 @@
#include <soc/pmic_wrap.h> #include <soc/pmic_wrap.h>
#include <types.h> #include <types.h>
#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8))
/* initialize rtc related gpio */ /* initialize rtc related gpio */
static bool rtc_gpio_init(void) static bool rtc_gpio_init(void)
{ {

View File

@ -8,8 +8,6 @@
#include <soc/pmic_wrap.h> #include <soc/pmic_wrap.h>
#include <timer.h> #include <timer.h>
#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8))
/* initialize rtc setting of using dcxo clock */ /* initialize rtc setting of using dcxo clock */
static bool rtc_enable_dcxo(void) static bool rtc_enable_dcxo(void)
{ {

View File

@ -13,8 +13,6 @@
#include <soc/pmic_wrap.h> #include <soc/pmic_wrap.h>
#include <timer.h> #include <timer.h>
#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8))
/* Initialize RTC setting of using DCXO clock */ /* Initialize RTC setting of using DCXO clock */
static bool rtc_enable_dcxo(void) static bool rtc_enable_dcxo(void)
{ {