include/spd_bin.h: Add SPD IO layer
commit7a7b4f05fc6375d63e2128c791006c5f9e1c45ac
authorYuchi Chen <yuchi.chen@intel.com>
Tue, 3 Sep 2024 14:58:00 +0000 (3 22:58 +0800)
committerLean Sheng Tan <sheng.tan@9elements.com>
Sat, 9 Nov 2024 10:19:38 +0000 (9 10:19 +0000)
tree5ea96775c896006d32a69730c974815d27b9f33c
parent031c078e8634c6436d27297e2b7810a5b75fc5b8
include/spd_bin.h: Add SPD IO layer

By default, PCH SMBus codes will be called to retrieve SPD data. This
patch adds a SPD IO layer so that SoC could implement its specific SPD
IO layer functions such as using Integrated Memory Controller to get
SPD data.

Change-Id: I656298aeda409fca3c85266b5b8727fac9bfc917
Signed-off-by: Yuchi Chen <yuchi.chen@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84201
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/include/spd_bin.h
src/soc/intel/common/block/smbus/Makefile.mk
src/soc/intel/common/block/smbus/smbuslib.c
src/soc/intel/common/block/smbus/spd_access.c [new file with mode: 0644]