![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
#include <soc/early_configs.h>
#include <soc/nvidia/tegra/i2c.h>
Go to the source code of this file.
Functions | |
static void | setup_pinmux (void) |
static void | configure_ec_spi_bus (void) |
static void | configure_tpm_i2c_bus (void) |
void | early_mainboard_init (void) |
Variables | |
static struct clk_rst_ctlr * | clk_rst = (void *)TEGRA_CLK_RST_BASE |
Definition at line 68 of file early_configs.c.
References CLK_M, and clock_configure_source.
Referenced by early_mainboard_init().
Definition at line 73 of file early_configs.c.
References clock_configure_i2c_scl_freq, i2c_init(), and PLLP.
Referenced by early_mainboard_init().
Definition at line 80 of file early_configs.c.
References CLK_H_SBC1, CLK_U_I2C3, clock_enable_clear_reset(), configure_ec_spi_bus(), configure_tpm_i2c_bus(), and setup_pinmux().
Referenced by romstage(), and verstage_mainboard_init().
Definition at line 11 of file early_configs.c.
References GPIO, gpio_input_pullup(), GPIO_MODE_GPIO, gpio_output(), gpio_set_mode(), PINMUX_INPUT_ENABLE, PINMUX_PULL_NONE, and pinmux_set_config().
Referenced by early_mainboard_init().
|
static |
Definition at line 9 of file early_configs.c.