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:
parent
d036a70d74
commit
025fb17372
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue