![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include "psp_verstage.h"
#include <amdblocks/acpimmio.h>
#include <amdblocks/espi.h>
#include <amdblocks/i2c.h>
#include <amdblocks/spi.h>
#include <arch/exception.h>
#include <arch/hlt.h>
#include <arch/io.h>
#include <bl_uapp/bl_errorcodes_public.h>
#include <bl_uapp/bl_syscall_public.h>
#include <console/console.h>
#include <soc/i2c.h>
#include <soc/southbridge.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
static void | i2c3_set_bar (void *bar) |
static void | i2c2_set_bar (void *bar) |
static void | espi_set_bar (void *bar) |
static void | iomux_set_bar (void *bar) |
static void | misc_set_bar (void *bar) |
static void | gpio_set_bar (void *bar) |
static void | io_set_bar (void *bar) |
u8 | io_read8 (u16 reg) |
void | io_write8 (u16 reg, u8 value) |
static void | aoac_set_bar (void *bar) |
uintptr_t * | map_spi_rom (void) |
static uint32_t | map_fch_devices (void) |
uint32_t | unmap_fch_devices (void) |
uint32_t | verstage_soc_early_init (void) |
void | verstage_soc_espi_init (void) |
void | verstage_soc_i2c_init (void) |
void | verstage_soc_aoac_init (void) |
void | verstage_soc_spi_init (void) |
Variables | |
static uintptr_t | io_bar |
struct { | |
const char * name | |
struct { | |
enum fch_io_device device | |
uint32_t arg0 | |
} args | |
void(* set_bar )(void *bar) | |
void * _bar | |
} | bar_map [] |
Definition at line 66 of file fch.c.
References acpimmio_aoac.
Definition at line 29 of file fch.c.
References espi_update_static_bar().
Definition at line 44 of file fch.c.
References acpimmio_gpio0.
Definition at line 24 of file fch.c.
References i2c_set_bar().
Definition at line 19 of file fch.c.
References i2c_set_bar().
Definition at line 34 of file fch.c.
References acpimmio_iomux.
Definition at line 106 of file fch.c.
References args, ARRAY_SIZE, bar_map, BIOS_ERR, name, printk, and svc_map_fch_dev().
Referenced by verstage_soc_early_init().
Definition at line 91 of file fch.c.
References addr, BIOS_DEBUG, NULL, printk, svc_get_spi_rom_info(), and svc_map_spi_rom().
Referenced by boot_device_ro().
Definition at line 39 of file fch.c.
References acpimmio_misc.
Definition at line 169 of file fch.c.
References BIOS_DEBUG, enable_aoac_devices(), and printk.
Referenced by Main().
Definition at line 150 of file fch.c.
References map_fch_devices().
Referenced by Main().
Definition at line 155 of file fch.c.
References BIOS_DEBUG, CONFIG, espi_setup(), and printk.
Referenced by Main().
Definition at line 163 of file fch.c.
References BIOS_DEBUG, i2c_soc_early_init(), and printk.
Referenced by Main().
Definition at line 175 of file fch.c.
References BIOS_DEBUG, fch_spi_config_modes(), printk, and show_spi_speeds_and_modes().
Referenced by Main().
uint32_t arg0 |
Definition at line 75 of file fch.c.
Referenced by handle_sbi().
struct { ... } args |
Referenced by arch_prog_run(), die(), do_arch_prog_run(), google_chromeec_command_v1(), init_store(), map_fch_devices(), printk(), snprintf(), unmap_fch_devices(), vb2ex_printf(), vprintk(), vsnprintf(), vtxprintf(), wifi_dsm_indonasia_5Ghz_band_enable(), wifi_dsm_regulatory_configurations(), wifi_dsm_srd_active_channels(), wifi_dsm_supported_ultra_high_band(), wifi_dsm_uart_configurations(), wifi_dsm_ukrane_russia_11ax_enable(), wifi_dsm_unii4_control_enable(), and wrap_interactive_printf().
struct { ... } bar_map[] |
Referenced by map_fch_devices(), and unmap_fch_devices().
enum fch_io_device device |
Definition at line 78 of file fch.c.
Referenced by acpi_create_dbg2(), biosemu_dev_init(), decode_spd_select_timings(), dump_spd_registers(), get_dimm_spd_address(), iio_dmi_en_masks(), lsmbus_block_write(), lsmbus_read_byte(), lsmbus_recv_byte(), lsmbus_send_byte(), lsmbus_write_byte(), platform_fsp_silicon_init_params_cb(), sb800_enable(), set_dram_row_attributes(), smbios_write_type41(), and tegra_mipi_request().
|
static |
Definition at line 49 of file fch.c.
Referenced by io_read8(), io_set_bar(), and io_write8().
const char* name |
Definition at line 72 of file fch.c.
Referenced by map_fch_devices(), and unmap_fch_devices().