summaryrefslogtreecommitdiff
path: root/src/include/spd_bin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/spd_bin.h')
-rw-r--r--src/include/spd_bin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/spd_bin.h b/src/include/spd_bin.h
index a0c1bbda4f..4d5ce2fb93 100644
--- a/src/include/spd_bin.h
+++ b/src/include/spd_bin.h
@@ -54,4 +54,7 @@ int get_spd_cbfs_rdev(struct region_device *spd_rdev, u8 spd_index);
void dump_spd_info(struct spd_block *blk);
void get_spd_smbus(struct spd_block *blk);
+/* expects SPD size to be 128 bytes, reads from "spd.bin" in CBFS and
+ verifies the checksum. Only available if CONFIG_DIMM_SPD_SIZE == 128. */
+int read_ddr3_spd_from_cbfs(u8 *buf, int idx);
#endif