From 90f01ece00204f26f4d61ae88f4d34f932f45c5c Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 19 Oct 2020 18:55:35 +0200 Subject: [PATCH] soc/intel/common/block/smbus: Add define for I2C_EN Change-Id: Iecccc363f492985555019f2390bd53472a000ba9 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/46563 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/common/block/smbus/smbuslib.h | 2 ++ 1 file changed, 2 insertions(+) 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