![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <boardid.h>
#include <bootblock_common.h>
#include <gpio.h>
#include <device/mmio.h>
#include <soc/gpio.h>
#include <soc/i2c.h>
#include <soc/mt6391.h>
#include <soc/pericfg.h>
#include <soc/spi.h>
Go to the source code of this file.
Functions | |
static void | i2c_set_gpio_pinmux (void) |
static void | nor_set_gpio_pinmux (void) |
void | bootblock_mainboard_early_init (void) |
void | bootblock_mainboard_init (void) |
Definition at line 51 of file bootblock.c.
References clrbits32, mt8173_pericfg, mt8173_pericfg_regs::pdn0_set, and PERICFG_UART0_PDN.
Definition at line 57 of file bootblock.c.
References board_id(), GPIO, GPIO_EINT_1P8V, gpio_init(), gpio_output(), i2c_set_gpio_pinmux(), MHz, mt6391_enable_reset_when_ap_resets(), mtk_i2c_bus_init(), mtk_spi_init(), nor_set_gpio_pinmux(), setup_chromeos_gpios(), and SPI_PAD1_MASK.
Definition at line 15 of file bootblock.c.
References GPIO, and gpio_set_mode().
Referenced by bootblock_mainboard_init().
Definition at line 23 of file bootblock.c.
References clrsetbits16, gpio_regs::drv_mode, GPIO, GPIO_PULL_ENABLE, GPIO_PULL_UP, gpio_set_mode(), gpio_set_pull(), mtk_gpio, and val_regs::val.
Referenced by bootblock_mainboard_init().