diff options
author | Andrey Petrov <anpetrov@fb.com> | 2019-07-31 22:08:55 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-08-14 03:35:07 +0000 |
commit | bb9506121f709f452d18d135ed163166f76e44e4 (patch) | |
tree | f848a445f2ea3ecee29364935bd2469b6d4ad3a5 /src/soc/intel/fsp_broadwell_de/include | |
parent | f377fafd941a44252c4c7527ba08f798d222e7ff (diff) |
soc/fsp_broadwell_de: Implement SMBus read/write over IMC
Add read/write functions to hook it up with existing SPD retrieval code.
Signed-off-by: Andrey Petrov <anpetrov@fb.com>
Change-Id: I9f5993dc795badf72751a4e6c9d974119a653e30
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34679
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/fsp_broadwell_de/include')
-rw-r--r-- | src/soc/intel/fsp_broadwell_de/include/soc/pci_devs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/include/soc/pci_devs.h b/src/soc/intel/fsp_broadwell_de/include/soc/pci_devs.h index 5fb8113980..ee0b80e49b 100644 --- a/src/soc/intel/fsp_broadwell_de/include/soc/pci_devs.h +++ b/src/soc/intel/fsp_broadwell_de/include/soc/pci_devs.h @@ -126,4 +126,9 @@ #define SMM_FUNC 0x06 #define SMM_DEV_FUNC PCI_DEVFN(SMM_DEV, SMM_FUNC) +#define IMC_DEV0 19 +#define IMC_FUNC0 0 + +#define IMC_DEV PCI_DEV(QPI_BUS, IMC_DEV0, IMC_FUNC0) + #endif /* _SOC_PCI_DEVS_H_ */ |