![]() |
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 <soc/grf.h>
#include <gpio.h>
#include <soc/spi.h>
Go to the source code of this file.
Functions | |
void | bootblock_mainboard_early_init (void) |
static void | configure_spi_flash (void) |
void | bootblock_mainboard_init (void) |
Definition at line 9 of file bootblock.c.
References _Static_assert(), CONFIG, rk3399_grf_regs::iomux_uart2c, IOMUX_UART2C, rk3399_grf, rk3399_grf_regs::soc_con7, UART2_BASE, UART2C_SEL, and write32().
Definition at line 37 of file bootblock.c.
References configure_spi_flash().
Definition at line 23 of file bootblock.c.
References GPIO, gpio_input(), IOMUX_SPI1_CSCLKTX, IOMUX_SPI1_RX, MHz, rk3399_pmugrf, rockchip_spi_init(), rockchip_spi_set_sample_delay(), rk3399_pmugrf_regs::spi1_csclktx, rk3399_pmugrf_regs::spi1_rxd, and write32().
Referenced by bootblock_mainboard_init().