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

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)
 

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

◆ bootblock_mainboard_init()

◆ i2c_set_gpio_pinmux()

static void i2c_set_gpio_pinmux ( void  )
static

Definition at line 15 of file bootblock.c.

References GPIO, and gpio_set_mode().

Referenced by bootblock_mainboard_init().

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

◆ nor_set_gpio_pinmux()

static void nor_set_gpio_pinmux ( void  )
static

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

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