coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include <arch/mmu.h>
#include <arch/stages.h>
#include <delay.h>
#include <soc/mmu_operations.h>
#include <soc/tsadc.h>
#include <soc/sdram.h>
#include <symbols.h>
#include <soc/usb.h>
#include "board.h"
#include "pwm_regulator.h"
Include dependency graph for romstage.c:

Go to the source code of this file.

Functions

static void init_dvs_outputs (void)
 
static void prepare_sdmmc (void)
 
static void prepare_usb (void)
 
void platform_romstage_main (void)
 

Function Documentation

◆ init_dvs_outputs()

static void init_dvs_outputs ( void  )
static

Definition at line 15 of file romstage.c.

References CONFIG, PWM_REGULATOR_BIG, PWM_REGULATOR_CENTERLOG, pwm_regulator_configure(), PWM_REGULATOR_GPU, and udelay().

Referenced by platform_romstage_main().

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

◆ platform_romstage_main()

void platform_romstage_main ( void  )

◆ prepare_sdmmc()

static void prepare_sdmmc ( void  )
static

Definition at line 33 of file romstage.c.

References gpio_output(), and GPIO_SDMMC_PWR.

Referenced by platform_romstage_main().

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

◆ prepare_usb()

static void prepare_usb ( void  )
static

Definition at line 39 of file romstage.c.

References reset_usb_otg0(), and reset_usb_otg1().

Referenced by platform_romstage_main().

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