coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
infracfg.h File Reference
#include <soc/addressmap.h>
#include <types.h>
Include dependency graph for infracfg.h:

Go to the source code of this file.

Data Structures

struct  mt8173_infracfg_regs
 

Enumerations

enum  { INFRA_PMIC_WRAP_RST = 1 << 7 , L2C_SRAM_PDN = 1 << 7 }
 
enum  { DDR_4GB_SUPPORT_EN = 1 << 13 }
 

Functions

 check_member (mt8173_infracfg_regs, infra_pdn0, 0x40)
 
 check_member (mt8173_infracfg_regs, topaxi_prot_sta1, 0x228)
 
 check_member (mt8173_infracfg_regs, infra_misc, 0xf00)
 

Variables

static struct mt8173_infracfg_regs *const mt8173_infracfg
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
INFRA_PMIC_WRAP_RST 
L2C_SRAM_PDN 

Definition at line 103 of file infracfg.h.

◆ anonymous enum

anonymous enum
Enumerator
DDR_4GB_SUPPORT_EN 

Definition at line 108 of file infracfg.h.

Function Documentation

◆ check_member() [1/3]

check_member ( mt8173_infracfg_regs  ,
infra_misc  ,
0xf00   
)

◆ check_member() [2/3]

check_member ( mt8173_infracfg_regs  ,
infra_pdn0  ,
0x40   
)

◆ check_member() [3/3]

check_member ( mt8173_infracfg_regs  ,
topaxi_prot_sta1  ,
0x228   
)

Variable Documentation

◆ mt8173_infracfg

struct mt8173_infracfg_regs* const mt8173_infracfg
static
Initial value:
=
@ INFRACFG_AO_BASE
Definition: addressmap.h:15

Definition at line 100 of file infracfg.h.

Referenced by init_4GB_mode(), mt_pll_init(), mt_pll_post_init(), mtk_soc_disable_l2c_sram(), and pwrap_init().