src/device/dram/ddr2: Fix supported burst lengths
Supported burst lengths are described at byte 16 Change-Id: I502710bdac7eec715b29febefd64be88e5a1b80a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/25098 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
6575306663
commit
ec19354b9a
|
@ -572,11 +572,11 @@ int spd_decode_ddr2(struct dimm_attr_ddr2_st *dimm, u8 spd[SPD_SIZE_MAX_DDR2])
|
|||
|
||||
/* SDRAM Supported Burst length */
|
||||
printram(" Burst length :");
|
||||
if (spd[16] & 0x06) {
|
||||
if (spd[16] & 0x08) {
|
||||
dimm->flags.bl8 = 1;
|
||||
printram(" BL8");
|
||||
}
|
||||
if (spd[22] & 0x04) {
|
||||
if (spd[16] & 0x04) {
|
||||
dimm->flags.bl4 = 1;
|
||||
printram(" BL4");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue