coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include <arch/exception.h>
#include <armv7.h>
#include <cbmem.h>
#include <console/console.h>
#include <program_loading.h>
#include <device/i2c_simple.h>
#include <drivers/maxim/max77686/max77686.h>
#include <soc/clk.h>
#include <soc/cpu.h>
#include <soc/dmc.h>
#include <soc/gpio.h>
#include <soc/i2c.h>
#include <soc/setup.h>
#include <soc/periph.h>
#include <soc/power.h>
#include <soc/trustzone.h>
#include <soc/wakeup.h>
#include <timestamp.h>
#include "exynos5250.h"
Include dependency graph for romstage.c:

Go to the source code of this file.

Functions

static void setup_power (int is_resume)
 
static void setup_graphics (void)
 
static void setup_gpio (void)
 
static void setup_memory (struct mem_timings *mem, int is_resume)
 
static struct mem_timingssetup_clock (void)
 
void main (void)
 

Function Documentation

◆ main()

◆ setup_clock()

static struct mem_timings* setup_clock ( void  )
static

Definition at line 109 of file romstage.c.

References die(), get_arm_clk_ratios(), get_mem_timings(), and system_clock_init().

Referenced by main().

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

◆ setup_gpio()

static void setup_gpio ( void  )
static

Definition at line 81 of file romstage.c.

References GPIO_D16, gpio_direction_input(), GPIO_PULL_NONE, gpio_set_pull(), GPIO_X13, GPIO_X35, and GPIO_Y10.

Referenced by main().

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

◆ setup_graphics()

static void setup_graphics ( void  )
static

Definition at line 76 of file romstage.c.

References exynos_pinmux_dphpd().

Referenced by main().

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

◆ setup_memory()

static void setup_memory ( struct mem_timings mem,
int  is_resume 
)
static

Definition at line 96 of file romstage.c.

References BIOS_SPEW, ddr3_mem_ctrl_init(), die(), DMC_INTERLEAVE_SIZE, mem_timings::frequency_mhz, mem_timings::mem_manuf, mem_timings::mem_type, mem_timings::mpll_mdiv, and printk.

Referenced by main().

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

◆ setup_power()

static void setup_power ( int  is_resume)
static