driver/ddr/fsl: Fix printing unspecified module info for DDR4

The offset of module information is at 128, different from DDR3.

Signed-off-by: York Sun <yorksun@freescale.com>
master
York Sun 11 years ago
parent 377ffcfabf
commit 353527d527
  1. 2
      drivers/ddr/fsl/interactive.c

@ -1579,7 +1579,7 @@ void ddr4_spd_dump(const struct ddr4_spd_eeprom_s *spd)
printf("%-3d-%3d: ", 128, 255);
for (i = 128; i <= 255; i++)
printf("%02x", spd->mod_section.uc[i - 60]);
printf("%02x", spd->mod_section.uc[i - 128]);
break;
}

Loading…
Cancel
Save