coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/mmio.h>
#include <bootblock_common.h>
#include <device/i2c_simple.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/clk_rst.h>
#include <soc/clock.h>
#include <soc/nvidia/tegra/i2c.h>
#include <soc/pinmux.h>
#include <soc/spi.h>
#include "pmic.h"
Go to the source code of this file.
Functions | |
static void | set_clock_sources (void) |
void | bootblock_mainboard_init (void) |
Variables | |
static struct clk_rst_ctlr * | clk_rst = (void *)TEGRA_CLK_RST_BASE |
Definition at line 33 of file bootblock.c.
References CLK_H_APBDMA, CLK_H_I2C5, CLK_L_CACHE2, CLK_L_TMR, CLK_V_MSELECT, clock_enable_clear_reset(), GPIO, gpio_input(), i2c_init(), PINMUX_INPUT_ENABLE, PINMUX_PULL_UP, pinmux_set_config(), pmic_init(), set_clock_sources(), and tegra_spi_init().
Definition at line 18 of file bootblock.c.
References clk_rst, CLK_SOURCE_SHIFT, clk_rst_ctlr::clk_src_uarta, clock_configure_i2c_scl_freq, clock_configure_source, PLLP, and write32().
Referenced by bootblock_mainboard_init().
|
static |
Definition at line 16 of file bootblock.c.
Referenced by sdram_lp0_save_params(), sdram_start_clocks(), and set_clock_sources().