From: York Sun Date: Thu, 5 Jun 2014 19:32:15 +0000 (-0700) Subject: driver/ddr/fsl: Fix printing unspecified module info for DDR4 X-Git-Tag: v2014.07-rc3~5^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=353527d527b78297571c05b8a1687c92d42f6d20;p=u-boot 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 --- diff --git a/drivers/ddr/fsl/interactive.c b/drivers/ddr/fsl/interactive.c index c9f86302d7..7fb418744e 100644 --- a/drivers/ddr/fsl/interactive.c +++ b/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; }