projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
377ffcf
)
driver/ddr/fsl: Fix printing unspecified module info for DDR4
author
York Sun
<yorksun@freescale.com>
Thu, 5 Jun 2014 19:32:15 +0000
(12:32 -0700)
committer
York Sun
<yorksun@freescale.com>
Thu, 5 Jun 2014 20:45:07 +0000
(13:45 -0700)
The offset of module information is at 128, different from DDR3.
Signed-off-by: York Sun <yorksun@freescale.com>
drivers/ddr/fsl/interactive.c
patch
|
blob
|
history
diff --git
a/drivers/ddr/fsl/interactive.c
b/drivers/ddr/fsl/interactive.c
index c9f86302d776343f3fbfe5cbe56b11f15805d140..7fb418744e0a32c55355f18c20fd6dbabd8501dc 100644
(file)
--- 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;
}