summaryrefslogtreecommitdiffstats
path: root/src/include/device/dram/ddr4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/dram/ddr4.h')
-rw-r--r--src/include/device/dram/ddr4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/device/dram/ddr4.h b/src/include/device/dram/ddr4.h
index 72102125206e..da7359a253a1 100644
--- a/src/include/device/dram/ddr4.h
+++ b/src/include/device/dram/ddr4.h
@@ -64,9 +64,9 @@ struct dimm_attr_ddr4_st {
bool ecc_extension;
};
-typedef u8 spd_raw_data[512];
+typedef u8 spd_ddr4_raw_data[SPD_SIZE_MAX_DDR4];
-int spd_decode_ddr4(struct dimm_attr_ddr4_st *dimm, spd_raw_data spd);
+int spd_decode_ddr4(struct dimm_attr_ddr4_st *dimm, spd_ddr4_raw_data spd);
enum cb_err spd_add_smbios17_ddr4(const u8 channel, const u8 slot,
const u16 selected_freq,