coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/smbus.h>
#include <soc/iomap.h>
Go to the source code of this file.
Functions | |
static void | fch_smbus_enable_decode (uint16_t base) |
void | fch_smbus_init (void) |
Definition at line 8 of file smbus_early_fch.c.
References base, PM_DECODE_EN, pm_read32(), pm_write32(), SMBUS_ASF_IO_BASE_MASK, SMBUS_ASF_IO_EN, and val.
Referenced by fch_smbus_init().
Definition at line 18 of file smbus_early_fch.c.
References asf_write8(), fch_smbus_enable_decode(), SMB_BASE_ADDR, SMBHST_STAT_CLEAR, SMBHSTSTAT, SMBSLV_STAT_CLEAR, SMBSLVSTAT, SMBTIMING, and smbus_write8().
Referenced by bootblock_fch_early_init(), and fch_pre_init().