coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.c File Reference
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <bootstate.h>
#include <fw_config.h>
Include dependency graph for gpio.c:

Go to the source code of this file.

Functions

const struct pad_configvariant_override_gpio_table (size_t *num)
 
static void fw_config_handle (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_DEV_ENABLE, BS_ON_ENTRY, fw_config_handle, NULL)
 

Variables

static const struct pad_config gpio_table []
 
static const struct pad_config lte_disable_pads []
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_DEV_ENABLE  ,
BS_ON_ENTRY  ,
fw_config_handle  ,
NULL   
)

◆ fw_config_handle()

static void fw_config_handle ( void unused)
static

Definition at line 72 of file gpio.c.

References ARRAY_SIZE, FW_CONFIG, fw_config_probe(), gpio_configure_pads(), and lte_disable_pads.

Here is the call graph for this function:

◆ variant_override_gpio_table()

const struct pad_config* variant_override_gpio_table ( size_t num)

Definition at line 66 of file gpio.c.

References ARRAY_SIZE, and gpio_table.

Variable Documentation

◆ gpio_table

const struct pad_config gpio_table[]
static

Definition at line 1 of file gpio.c.

Referenced by variant_override_gpio_table().

◆ lte_disable_pads

const struct pad_config lte_disable_pads[]
static
Initial value:
= {
}
#define GPP_H17
#define GPP_A10
#define GPP_D0
#define PAD_NC(pin)
Definition: gpio_defs.h:263

Definition at line 1 of file gpio.c.

Referenced by fw_config_handle().