coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mtcmos.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <device/mmio.h>
4 #include <soc/infracfg.h>
5 #include <soc/mtcmos.h>
6 
7 enum {
8  DISP_PROT_STEP_2_MASK = 0x00000C06,
9  DISP_PROT_STEP_1_MASK = 0x00001800,
10 };
11 
13 {
18 }
19 
21 {
22  /* No need to do protection since MT8186 doesn't have audio mtcmos. */
23 }
static void write32(void *addr, uint32_t val)
Definition: mmio.h:40
void mtcmos_protect_display_bus(void)
Definition: mtcmos.c:14
static struct mt8186_infracfg_ao_regs *const mt8186_infracfg_ao
Definition: infracfg.h:544
void mtcmos_protect_audio_bus(void)
Definition: mtcmos.c:20
@ DISP_PROT_STEP_1_MASK
Definition: mtcmos.c:9
@ DISP_PROT_STEP_2_MASK
Definition: mtcmos.c:8