commit | 78ba7a7865ed1f60c7f55bfcced305bc8fbdc9c6 | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Mon May 06 05:11:28 2024 +0200 |
committer | Elyes Haouas <ehaouas@noos.fr> | Tue May 07 10:52:44 2024 +0000 |
tree | 876ce8b879c63c3a121701047d35346388192176 | |
parent | 0f3316bc71aab50dbd8464ee2fb5b680947f2ca5 [diff] |
device/dram/ddr{3,4}: Rename spd_raw_data for specific DDR Rename different spd_raw_data[] for DDR3 and DDR4. This is to solve the conflict when we include both "ddr3.h" and ddr4.h" for example here: src/device/dram/spd.c. Otherwise, it won't compile as DDR3 and DDR4 have different spd_raw_data[] size. Change-Id: I46597fe82790410fbb53d60e04b7fdffb7b0094a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82171 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/src/northbridge/intel/haswell/native_raminit/raminit_native.h b/src/northbridge/intel/haswell/native_raminit/raminit_native.h index 1a07939..2a16866 100644 --- a/src/northbridge/intel/haswell/native_raminit/raminit_native.h +++ b/src/northbridge/intel/haswell/native_raminit/raminit_native.h
@@ -33,7 +33,7 @@ }; struct raminit_dimm_info { - spd_raw_data raw_spd; + spd_ddr3_raw_data raw_spd; struct dimm_attr_ddr3_st data; uint8_t spd_addr; bool valid;