Add library to: 1. add spd.bin in cbfs, generated from mainboard/spd/*.spd.hex files. 2. runtime get spd data with spd index as input. 3. fetch spd over smbus using early smbus functions.
Change-Id: I44fe1cdb883dd1037484d4bb5c87d2d4f9862bf8
335781a lib: Add library to handle SPD data in CBFS or DIMM
src/Kconfig | 25 ++++++++
src/include/spd_bin.h | 57 +++++++++++++++++
src/lib/Makefile.inc | 18 ++++++
src/lib/spd_bin.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 268 insertions(+)
Upstream: review.coreboot.org