![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootblock_common.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/i2c.h>
#include <soc/pcie.h>
#include <soc/spi.h>
Go to the source code of this file.
Data Structures | |
struct | pad_func |
Macros | |
#define | PAD_FUNC(name, func) {PAD_##name##_ID, PAD_##name##_FUNC_##func} |
Functions | |
static void | nor_set_gpio_pinmux (void) |
static void | usb3_hub_reset (void) |
void | bootblock_mainboard_init (void) |
Definition at line 18 of file bootblock.c.
Definition at line 45 of file bootblock.c.
References CONFIG, gpio_eint_configure(), GPIO_GSC_AP_INT, I2C_SPEED_FAST, IRQ_TYPE_EDGE_RISING, MHz, mtk_i2c_bus_init(), mtk_pcie_pre_init(), mtk_spi_init(), nor_set_gpio_pinmux(), setup_chromeos_gpios(), SPI_PAD0_MASK, and usb3_hub_reset().
Definition at line 20 of file bootblock.c.
References ARRAY_SIZE, pad_func::func, GPIO_PULL_ENABLE, GPIO_PULL_UP, gpio_set_mode(), gpio_set_pull(), nor_pinmux, NULL, PAD_FUNC, and pad_func::pin_id.
Referenced by bootblock_mainboard_init().
Definition at line 40 of file bootblock.c.
References GPIO, and gpio_output().
Referenced by bootblock_mainboard_init().