coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include <arch/cache.h>
#include <arch/exception.h>
#include <armv7.h>
#include <assert.h>
#include <cbmem.h>
#include <console/console.h>
#include <device/mmio.h>
#include <program_loading.h>
#include <soc/sdram.h>
#include <soc/clock.h>
#include <soc/pwm.h>
#include <soc/grf.h>
#include <soc/rk808.h>
#include <soc/tsadc.h>
#include <symbols.h>
#include <timestamp.h>
#include <types.h>
#include "board.h"
Include dependency graph for romstage.c:

Go to the source code of this file.

Functions

static void regulate_vdd_log (unsigned int mv)
 
static void configure_l2ctlr (void)
 
static void sdmmc_power_off (void)
 
void main (void)
 

Function Documentation

◆ configure_l2ctlr()

static void configure_l2ctlr ( void  )
static

Definition at line 40 of file romstage.c.

References read_l2ctlr(), and write_l2ctlr().

Referenced by main().

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

◆ main()

◆ regulate_vdd_log()

static void regulate_vdd_log ( unsigned int  mv)
static

Definition at line 23 of file romstage.c.

References assert, rk3288_grf_regs::iomux_pwm1, IOMUX_PWM1, pwm_init(), rk3288_grf, and write32().

Referenced by main().

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

◆ sdmmc_power_off()

static void sdmmc_power_off ( void  )
static

Definition at line 59 of file romstage.c.

References rk808_configure_ldo().

Referenced by main().

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