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

Go to the source code of this file.

Functions

void mtk_pcie_reset (uintptr_t reg, bool enable)
 
void mtk_pcie_pre_init (void)
 

Function Documentation

◆ mtk_pcie_pre_init()

void mtk_pcie_pre_init ( void  )

Definition at line 70 of file pcie.c.

References EARLY_INIT_PCIE, early_init_save_time(), mtk_pcie_reset(), mtk_pcie_set_pinmux(), and PCIE_RST_CTRL_REG.

Referenced by bootblock_mainboard_init().

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

◆ mtk_pcie_reset()

void mtk_pcie_reset ( uintptr_t  reg,
bool  enable 
)

Definition at line 54 of file pcie.c.

References PCIE_BRG_RSTB, PCIE_MAC_RSTB, PCIE_PE_RSTB, PCIE_PHY_RSTB, read32p(), val, and write32p().

Referenced by mtk_pcie_domain_enable(), and mtk_pcie_pre_init().

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