diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-01-31 19:43:17 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-10 11:17:27 +0100 |
commit | 6e53ae6f5c12b70c2a86370f0dd9df37a12c8118 (patch) | |
tree | c647451229c70fe79a50bdba06f5359d9413d093 /src/include/device/dram/ddr3.h | |
parent | 7e4d12c5b12107bb7682e050c66f97000e064ce2 (diff) | |
download | coreboot-6e53ae6f5c12b70c2a86370f0dd9df37a12c8118.tar.xz |
device/dram/ddr2: Add common ddr2 spd decoder
Decode DDR2 SPD similar to DDR3 SPD decoder to ease
readability, reduce code complexity and reduce size of
maintainable code.
Rename dimm_is_registered to spd_dimm_is_registered_ddr3 to avoid
compilation errors.
Change-Id: I741f0e61ab23e3999ae9e31f57228ba034c2509e
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/18273
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/device/dram/ddr3.h')
-rw-r--r-- | src/include/device/dram/ddr3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h index ee20ba793a..7a97bf81f8 100644 --- a/src/include/device/dram/ddr3.h +++ b/src/include/device/dram/ddr3.h @@ -201,7 +201,7 @@ typedef u8 spd_raw_data[256]; u16 spd_ddr3_calc_crc(u8 *spd, int len); u16 spd_ddr3_calc_unique_crc(u8 *spd, int len); int spd_decode_ddr3(dimm_attr * dimm, spd_raw_data spd_data); -int dimm_is_registered(enum spd_dimm_type type); +int spd_dimm_is_registered_ddr3(enum spd_dimm_type type); void dram_print_spd_ddr3(const dimm_attr * dimm); int spd_xmp_decode_ddr3(dimm_attr * dimm, spd_raw_data spd, |