aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/imc/Makefile.inc
diff options
context:
space:
mode:
authorAndrey Petrov <anpetrov@fb.com>2019-07-29 14:41:35 -0700
committerMartin Roth <martinroth@google.com>2019-08-14 03:34:42 +0000
commitf377fafd941a44252c4c7527ba08f798d222e7ff (patch)
treec90e095c3234bf0ecb4abc2ccb6a8f1107fb7c37 /src/soc/intel/common/block/imc/Makefile.inc
parentc0193c92379e19add78e4e3668fd222e4d041672 (diff)
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 <anpetrov@fb.com> Change-Id: Idbcda1c2273b9a5721fcd9470b4de182192779e7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/34678 Reviewed-by: David Hendricks <david.hendricks@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/imc/Makefile.inc')
-rw-r--r--src/soc/intel/common/block/imc/Makefile.inc9
1 files changed, 9 insertions, 0 deletions
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