summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-10-19 18:55:35 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-26 06:46:59 +0000
commit90f01ece00204f26f4d61ae88f4d34f932f45c5c (patch)
treea96f8b93fddd37c2203f3e91475305e386de5cbf /src/soc
parent2c70708a78d137f322bc32556b5b3a13962dfa46 (diff)
downloadcoreboot-90f01ece00204f26f4d61ae88f4d34f932f45c5c.tar.xz
soc/intel/common/block/smbus: Add define for I2C_EN
Change-Id: Iecccc363f492985555019f2390bd53472a000ba9 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46563 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/block/smbus/smbuslib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/smbus/smbuslib.h b/src/soc/intel/common/block/smbus/smbuslib.h
index 5b4e6eb126..38e0d870ae 100644
--- a/src/soc/intel/common/block/smbus/smbuslib.h
+++ b/src/soc/intel/common/block/smbus/smbuslib.h
@@ -9,6 +9,8 @@
/* PCI Configuration Space : SMBus */
#define HOSTC 0x40
#define HST_EN (1 << 0)
+#define I2C_EN (1 << 2)
+
/* SMBus I/O bits. */
#define SMBHSTSTAT 0x0
#define SMBHSTCTL 0x2