![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <console/console.h>
#include <device/i2c_simple.h>
#include <soc/pci_devs.h>
#include <soc/reg_access.h>
#include "reg_access.h"
Go to the source code of this file.
Macros | |
#define | __SIMPLE_DEVICE__ |
Functions | |
static uint64_t | reg_read (struct reg_script_context *ctx) |
static void | reg_write (struct reg_script_context *ctx) |
REG_SCRIPT_BUS_ENTRY (mainboard_reg_script_bus_table) | |
Variables | |
const struct reg_script_bus_entry | mainboard_reg_script_bus_table |
#define __SIMPLE_DEVICE__ |
Definition at line 3 of file reg_access.c.
|
static |
Definition at line 12 of file reg_access.c.
References ASSERT, BIOS_ERR, BIOS_INFO, reg_script_context::display_features, GEN1_I2C_GPIO_EXP_0x20, GEN1_I2C_GPIO_EXP_0x21, GEN2_I2C_GPIO_EXP0, GEN2_I2C_GPIO_EXP1, GEN2_I2C_GPIO_EXP2, GEN2_I2C_LED_PWM, i2c_readb(), reg_script::id, printk, reg_script::reg, REG_SCRIPT_DISPLAY_NOTHING, reg_script_context::step, and value.
REG_SCRIPT_BUS_ENTRY | ( | mainboard_reg_script_bus_table | ) |
|
static |
Definition at line 41 of file reg_access.c.
const struct reg_script_bus_entry mainboard_reg_script_bus_table |
Definition at line 41 of file reg_access.c.