![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <device/pci_ops.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_def.h>
#include <device/smbus_host.h>
#include "i82371eb.h"
Go to the source code of this file.
Functions | |
void | i82371eb_early_init (void) |
uintptr_t | smbus_base (void) |
int | smbus_enable_iobar (uintptr_t base) |
Definition at line 11 of file early_smbus.c.
References enable_pm(), and enable_smbus().
Referenced by mainboard_romstage_entry().
Definition at line 17 of file early_smbus.c.
References SMBUS_BASE_ADDRESS, and SMBUS_IO_BASE.
Referenced by enable_smbus().
int smbus_enable_iobar | ( | uintptr_t | base | ) |
Definition at line 22 of file early_smbus.c.
References base, PCI_BASE_ADDRESS_4, PCI_COMMAND, PCI_COMMAND_IO, PCI_DEV, PCI_DID_INTEL_82371AB_SMB_ACPI, PCI_ID, pci_locate_device(), pci_read_config16(), pci_read_config8(), PCI_VID_INTEL, pci_write_config16(), pci_write_config32(), pci_write_config8(), PCU_SMB_CLK_PAD, PCU_SMB_DATA_PAD, score_select_func(), SMB_HST_EN, SMBBA, SMBHSTCFG, SMBUS_DEV, and SMBUS_FUNC.
Referenced by enable_smbus().