coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_smbus.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H
4 #define SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H
5 
6 #include <device/pci_def.h>
7 
8 #define PCI_DEV_SMBUS PCI_DEV(0, 0x1f, 3)
9 
10 #define SMB_BASE PCI_BASE_ADDRESS_4
11 #define HOSTC 0x40
12 
13 /* HOSTC bits */
14 #define I2C_EN (1 << 2)
15 #define SMB_SMI_EN (1 << 1)
16 #define HST_EN (1 << 0)
17 
18 #endif /* SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H */