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

Go to the source code of this file.

Macros

#define REG_SPM_POWERON_CONFIG_EN   (void *)(SPM_BASE + 0x000)
 
#define REG_SPM_SSPM_PWR_CON   (void *)(SPM_BASE + 0x390)
 

Functions

void mtk_usb_prepare (void)
 

Macro Definition Documentation

◆ REG_SPM_POWERON_CONFIG_EN

#define REG_SPM_POWERON_CONFIG_EN   (void *)(SPM_BASE + 0x000)

Definition at line 7 of file usb.c.

◆ REG_SPM_SSPM_PWR_CON

#define REG_SPM_SSPM_PWR_CON   (void *)(SPM_BASE + 0x390)

Definition at line 8 of file usb.c.

Function Documentation

◆ mtk_usb_prepare()

void mtk_usb_prepare ( void  )

Definition at line 10 of file usb.c.

References clrbits32, REG_SPM_POWERON_CONFIG_EN, REG_SPM_SSPM_PWR_CON, and setbits32.