soc/mediatek: Drop unneeded empty lines
Change-Id: Ia419de14614a7a1b583e0870e9ca2fcdc8cf815a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44596 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
f8f8615eef
commit
1a8b50089d
|
@ -6,7 +6,6 @@
|
|||
#include <soc/addressmap.h>
|
||||
#include <types.h>
|
||||
|
||||
|
||||
struct disp_ovl_regs {
|
||||
u32 sta;
|
||||
u32 inten;
|
||||
|
@ -113,7 +112,6 @@ check_member(disp_color_regs, width, 0xC50);
|
|||
check_member(disp_color_regs, height, 0xC54);
|
||||
static struct disp_color_regs *const disp_color0 = (void *)DISP_COLOR0_BASE;
|
||||
|
||||
|
||||
enum {
|
||||
COLOR_BYPASS_ALL = BIT(7),
|
||||
COLOR_SEQ_SEL = BIT(13),
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <soc/mtcmos.h>
|
||||
#include <soc/spm.h>
|
||||
|
|
|
@ -56,7 +56,6 @@ void da9212_probe(uint8_t i2c_num)
|
|||
unsigned char device_id = 0;
|
||||
unsigned char variant_id = 0;
|
||||
|
||||
|
||||
/* select to page 4, clear REVERT at first time */
|
||||
ret |= i2c_write_field(i2c_num, DA9212_SLAVE_ADDR,
|
||||
DA9212_REG_PAGE_CON, DA9212_REG_PAGE4,
|
||||
|
|
|
@ -25,7 +25,6 @@ static void mt6311_hw_init(uint8_t i2c_num)
|
|||
int ret = 0;
|
||||
unsigned char var[3] = {0};
|
||||
|
||||
|
||||
/*
|
||||
* Phase Shedding Trim Software Setting
|
||||
* The phase 2 of MT6311 will enter PWM mode if the threshold is
|
||||
|
|
|
@ -373,7 +373,6 @@ void mt_pll_enable_ssusb_clk(void)
|
|||
setbits32(&mtk_apmixed->ap_pll_con2, (0x1 << 2) | (0x1 << 1));
|
||||
}
|
||||
|
||||
|
||||
/* after pmic_init */
|
||||
void mt_pll_post_init(void)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#define RTC_GPIO_USER_MASK ((1 << 13) - (1 << 8))
|
||||
|
||||
|
||||
/* initialize rtc related gpio */
|
||||
static int rtc_gpio_init(void)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,6 @@ check_member(mmsys_cfg_regs, dpi0_sel_sout_sel_in, 0xF64);
|
|||
static struct mmsys_cfg_regs *const mmsys_cfg =
|
||||
(void *)MMSYS_BASE;
|
||||
|
||||
|
||||
/* DISP_REG_CONFIG_MMSYS_CG_CON0
|
||||
Configures free-run clock gating 0
|
||||
0: Enable clock
|
||||
|
|
|
@ -47,7 +47,6 @@ enum {
|
|||
COUNTER16_PENDING_THRES = STARVE_ENABLE | PENDING_US(0x340),
|
||||
};
|
||||
|
||||
|
||||
static void pwrap_soft_reset(void)
|
||||
{
|
||||
write32(&mt8183_infracfg->infra_globalcon_rst2_set, 0x1);
|
||||
|
|
|
@ -699,7 +699,6 @@ enum {
|
|||
I2S6_DI, I2S8_DI, RES6, RES7),
|
||||
};
|
||||
|
||||
|
||||
struct val_regs {
|
||||
uint32_t val;
|
||||
uint32_t set;
|
||||
|
|
Loading…
Reference in New Issue