![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#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"
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_timings * | setup_clock (void) |
void | main (void) |
Definition at line 120 of file romstage.c.
References cbmem_initialize_empty(), clock_set_rate(), console_init(), exception_init(), exynos_pinmux_spi1(), get_wakeup_state(), IS_NOT_WAKEUP, PERIPH_ID_SPI1, run_ramstage(), setup_clock(), setup_gpio(), setup_graphics(), setup_memory(), setup_power(), timestamp_add_now(), timestamp_get, timestamp_init(), trustzone_init(), TS_INITRAM_END, TS_INITRAM_START, TS_ROMSTAGE_START, and wakeup().
|
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().
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().
Definition at line 76 of file romstage.c.
References exynos_pinmux_dphpd().
Referenced by main().
|
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().
|
static |
Definition at line 24 of file romstage.c.
References BIOS_CRIT, BIOS_DEBUG, die(), exynos_pinmux_i2c0(), I2C_0_SPEED, i2c_init(), max77686_disable_backup_batt(), max77686_enable_32khz_cp(), MAX77686_MV, MAX77686_UV, max77686_volsetting(), PMIC_BUCK1, PMIC_BUCK2, PMIC_BUCK3, PMIC_BUCK4, PMIC_LDO10, PMIC_LDO2, PMIC_LDO3, PMIC_LDO5, power_init(), printk, REG_ENABLE, VDD_ARM_MV, VDD_G3D_MV, VDD_INT_UV, VDD_LDO10_MV, VDD_LDO2_MV, VDD_LDO3_MV, VDD_LDO5_MV, and VDD_MIF_MV.
Referenced by main().