commit | efb8ce308b762776175caa670b0b765a132b55e6 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Wed Jul 01 16:51:59 2009 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Wed Jul 01 23:21:43 2009 -0500 |
tree | a330ace8bf35966aa76b215dc49e0a24baea3ab3 | |
parent | 34c1c66821fa08c0f767af88372ee9a5007b065a [diff] |
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>