coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
#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"
Include dependency graph for bootblock.c:

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_ctlrclk_rst = (void *)TEGRA_CLK_RST_BASE
 

Function Documentation

◆ bootblock_mainboard_init()

◆ set_clock_sources()

static void set_clock_sources ( void  )
static

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().

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

Variable Documentation

◆ clk_rst

struct clk_rst_ctlr* clk_rst = (void *)TEGRA_CLK_RST_BASE
static

Definition at line 16 of file bootblock.c.

Referenced by sdram_lp0_save_params(), sdram_start_clocks(), and set_clock_sources().