From f377fafd941a44252c4c7527ba08f798d222e7ff Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Mon, 29 Jul 2019 14:41:35 -0700 Subject: common/block/imc: Add Integrated Memory Controller (IMC) driver IMC is found on certain Xeon processors. On such platforms SPDs are not connected to SMBus on PCH but to dedicated IMC-owned pins. The purpose of this driver is to expose access to the i2c/smbus controller associated with IMC. Datasheet used: Intel Xeon Processor D-1500 Product Family, Volume 2, reference 332051-001 This driver is largely based on i2c-imc.c Linux driver. https://lwn.net/Articles/685475/ TEST=single/double reads and single writes on Xeon-D1500. Hardware: Open Compute Project Monolake platform. Signed-off-by: Andrey Petrov Change-Id: Idbcda1c2273b9a5721fcd9470b4de182192779e7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/34678 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/imc/Makefile.inc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/soc/intel/common/block/imc/Makefile.inc (limited to 'src/soc/intel/common/block/imc/Makefile.inc') diff --git a/src/soc/intel/common/block/imc/Makefile.inc b/src/soc/intel/common/block/imc/Makefile.inc new file mode 100644 index 0000000000..a6bc985eb2 --- /dev/null +++ b/src/soc/intel/common/block/imc/Makefile.inc @@ -0,0 +1,9 @@ +ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_IMC),y) + +bootblock-y += imc.c +romstage-y += imc.c +verstage-y += imc.c +postcar-y += imc.c +ramstage-y += imc.c + +endif -- cgit v1.2.3