coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sspm.c File Reference
#include <device/mmio.h>
#include <soc/mcu_common.h>
#include <soc/sspm.h>
#include <soc/symbols.h>
Include dependency graph for sspm.c:

Go to the source code of this file.

Functions

static void reset_sspm (struct mtk_mcu *mcu)
 
void sspm_init (void)
 

Variables

static struct mtk_mcu sspm
 

Function Documentation

◆ reset_sspm()

static void reset_sspm ( struct mtk_mcu mcu)
static

Definition at line 8 of file sspm.c.

References sspm_reg, sspm_regs::sw_rstn, and write32().

Here is the call graph for this function:

◆ sspm_init()

void sspm_init ( void  )

Definition at line 19 of file sspm.c.

References mtk_mcu::buffer_size, mtk_mcu::load_buffer, mtk_init_mcu(), REGION_SIZE, and sspm.

Referenced by soc_init().

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

Variable Documentation

◆ sspm

struct mtk_mcu sspm
static
Initial value:
= {
.firmware_name = CONFIG_SSPM_FIRMWARE,
.run_address = (void *)SSPM_SRAM_BASE,
}
@ SSPM_SRAM_BASE
Definition: addressmap.h:24
static void reset_sspm(struct mtk_mcu *mcu)
Definition: sspm.c:8
static void __noreturn reset(void)

Definition at line 8 of file sspm.c.

Referenced by sspm_init().