[U-Boot] [PATCH] fsl_ddr: Fix DDR3 calculation of rank density with 8GB or more

Kumar Gala galak at kernel.crashing.org
Thu Jul 2 06:26:11 CEST 2009


On Jul 1, 2009, at 11:20 PM, Kumar Gala wrote:

> From: Timur Tabi <timur at freescale.com>
>
> 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 at freescale.com>
> ---
> cpu/mpc8xxx/ddr/ddr3_dimm_params.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied

- k


More information about the U-Boot mailing list