coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mcupm.h File Reference
#include <soc/addressmap.h>
#include <types.h>
Include dependency graph for mcupm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mcupm_regs
 

Functions

void mcupm_init (void)
 

Variables

static struct mcupm_regs *const mcupm_reg = (void *)MCUPM_CFG_BASE
 

Function Documentation

◆ mcupm_init()

void mcupm_init ( void  )

Definition at line 24 of file mcupm.c.

References mtk_mcu::buffer_size, die(), mtk_mcu::load_buffer, mcupm, mcupm_reg, mtk_init_mcu(), REGION_SIZE, mcupm_regs::sw_rstn, and write32().

Referenced by soc_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ mcupm_reg

struct mcupm_regs* const mcupm_reg = (void *)MCUPM_CFG_BASE
static

Definition at line 12 of file mcupm.h.

Referenced by mcupm_init().