diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-03-23 15:15:28 +0100 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2024-03-28 09:18:26 +0000 |
commit | 4b76273ac963d4c5e7a85b5e47577afe4860de6b (patch) | |
tree | 70ae16a9fc544cea8309978ddf67972da7b14aba /src/soc/mediatek/mt8188 | |
parent | e6893677c1ca4d15342e2201b877d54d015a01b1 (diff) |
soc/mediatek: Remove blank lines before '}' and after '{'
Change-Id: I0ce2b61329efede1ba8a02446610e3eb635ceedc
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81462
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8188')
-rw-r--r-- | src/soc/mediatek/mt8188/devapc.c | 6 | ||||
-rw-r--r-- | src/soc/mediatek/mt8188/include/soc/gpio.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/soc/mediatek/mt8188/devapc.c b/src/soc/mediatek/mt8188/devapc.c index 6e47f70597..6c585baf50 100644 --- a/src/soc/mediatek/mt8188/devapc.c +++ b/src/soc/mediatek/mt8188/devapc.c @@ -1492,7 +1492,6 @@ static void set_infra_ao_apc(uintptr_t base) for (j = 0; j < ARRAY_SIZE(infra_ao_sys2_devices[i].d_permission); j++) set_module_apc(base + SYS2_D0_APC_0, i, domain_map[j], infra_ao_sys2_devices[i].d_permission[j]); - } static void set_peri_ao_apc(uintptr_t base) @@ -1516,7 +1515,6 @@ static void set_peri_ao_apc(uintptr_t base) for (j = 0; j < ARRAY_SIZE(peri_ao_sys1_devices[i].d_permission); j++) set_module_apc(base + SYS1_D0_APC_0, i, domain_map[j], peri_ao_sys1_devices[i].d_permission[j]); - } static void set_peri2_ao_apc(uintptr_t base) @@ -1527,7 +1525,6 @@ static void set_peri2_ao_apc(uintptr_t base) for (j = 0; j < ARRAY_SIZE(peri2_ao_sys0_devices[i].d_permission); j++) set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j], peri2_ao_sys0_devices[i].d_permission[j]); - } static void set_peri_par_ao_apc(uintptr_t base) @@ -1538,7 +1535,6 @@ static void set_peri_par_ao_apc(uintptr_t base) for (j = 0; j < ARRAY_SIZE(peri_par_ao_sys0_devices[i].d_permission); j++) set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j], peri_par_ao_sys0_devices[i].d_permission[j]); - } static void dump_infra_ao_apc(uintptr_t base) @@ -1599,7 +1595,6 @@ static void dump_peri2_ao_apc(uintptr_t base) for (i = 0; i < reg_max; i++) printk(BIOS_DEBUG, "[DEVAPC] (PERI2_AO_SYS0)D%d_APC_%d: %#x\n", d, i, read32(getreg_domain(base, SYS0_D0_APC_0, d, i))); - } static void dump_peri_par_ao_apc(uintptr_t base) @@ -1716,7 +1711,6 @@ static void peri_par_init(uintptr_t base) /* Master Domain */ SET32_BITFIELDS(getreg_domain(base, MAS_DOM_0, 0, 4), PCIE0_DOM, DOMAIN_2); - } static void fmem_master_init(uintptr_t base) diff --git a/src/soc/mediatek/mt8188/include/soc/gpio.h b/src/soc/mediatek/mt8188/include/soc/gpio.h index 8767e0f7a9..916cf84e8f 100644 --- a/src/soc/mediatek/mt8188/include/soc/gpio.h +++ b/src/soc/mediatek/mt8188/include/soc/gpio.h @@ -44,7 +44,6 @@ enum { }) enum { - PIN(0, GPIO00, 0, 6, 0x31, 0xe0, TP_GPIO0_AO, SPIM5_CSB, UTXD1, DMIC3_CLK, I2SIN_MCK, I2SO2_MCK, DBG_MON_A0), |