coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mcupm.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef SOC_MEDIATEK_COMMON_MCUPM_H
4
#define SOC_MEDIATEK_COMMON_MCUPM_H
5
6
#include <soc/addressmap.h>
7
#include <types.h>
8
9
struct
mcupm_regs
{
10
u32
sw_rstn
;
11
};
12
static
struct
mcupm_regs
*
const
mcupm_reg
= (
void
*)
MCUPM_CFG_BASE
;
13
void
mcupm_init
(
void
);
14
#endif
/* SOC_MEDIATEK_COMMON_MCUPM_H */
mcupm_init
void mcupm_init(void)
Definition:
mcupm.c:24
mcupm_reg
static struct mcupm_regs *const mcupm_reg
Definition:
mcupm.h:12
MCUPM_CFG_BASE
@ MCUPM_CFG_BASE
Definition:
addressmap.h:9
u32
uint32_t u32
Definition:
stdint.h:51
mcupm_regs
Definition:
mcupm.h:9
mcupm_regs::sw_rstn
u32 sw_rstn
Definition:
mcupm.h:10
src
soc
mediatek
common
include
soc
mcupm.h
Generated by
1.9.1