Debian Codegraph @

src/southbridge/intel/common/early_smbus.h

raw symbols SCIP
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 #include <device/pci_type.h>
8
9 #define PCI_DEV_SMBUS PCI_DEV(0, 0x1f, 3)
10
11 #define SMB_BASE PCI_BASE_ADDRESS_4
12 #define HOSTC 0x40
13
14 /* HOSTC bits */
15 #define I2C_EN (1 << 2)
16 #define SMB_SMI_EN (1 << 1)
17 #define HST_EN (1 << 0)
18
19 #endif /* SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H */