diff options
author | Timur Tabi <timur@freescale.com> | 2009-07-01 21:51:59 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-07-02 04:21:43 (GMT) |
commit | e66f38da8434425aca8df08d06d9ef41b3478d3b (patch) | |
tree | a330ace8bf35966aa76b215dc49e0a24baea3ab3 /MAKEALL | |
parent | 6af015b86b86d94de7ca1b23a3890bc93a50c2ab (diff) | |
download | u-boot-fsl-qoriq-e66f38da8434425aca8df08d06d9ef41b3478d3b.tar.xz |
fsl_ddr: Fix DDR3 calculation of rank density with 8GB or more
The calculate for rank density in compute_ranksize() for DDR3 used all
integers for the expression, so the result was also a 32-bit integer, even
though the 'bsize' variable is a u64. Fix the expression to calculate a
true 64-bit value.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'MAKEALL')
0 files changed, 0 insertions, 0 deletions