coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_smbus.h File Reference
#include <device/pci_def.h>
Include dependency graph for early_smbus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PCI_DEV_SMBUS   PCI_DEV(0, 0x1f, 3)
 
#define SMB_BASE   PCI_BASE_ADDRESS_4
 
#define HOSTC   0x40
 
#define I2C_EN   (1 << 2)
 
#define SMB_SMI_EN   (1 << 1)
 
#define HST_EN   (1 << 0)
 

Macro Definition Documentation

◆ HOSTC

#define HOSTC   0x40

Definition at line 11 of file early_smbus.h.

◆ HST_EN

#define HST_EN   (1 << 0)

Definition at line 16 of file early_smbus.h.

◆ I2C_EN

#define I2C_EN   (1 << 2)

Definition at line 14 of file early_smbus.h.

◆ PCI_DEV_SMBUS

#define PCI_DEV_SMBUS   PCI_DEV(0, 0x1f, 3)

Definition at line 8 of file early_smbus.h.

◆ SMB_BASE

#define SMB_BASE   PCI_BASE_ADDRESS_4

Definition at line 10 of file early_smbus.h.

◆ SMB_SMI_EN

#define SMB_SMI_EN   (1 << 1)

Definition at line 15 of file early_smbus.h.