commit | abe3a3f065525918d40bbbf0fc00c1ef827c3013 | [log] [tgz] |
---|---|---|
author | Mingkai Hu <Mingkai.hu@freescale.com> | Fri Apr 12 15:56:28 2013 +0800 |
committer | Andy Fleming <afleming@freescale.com> | Thu Jun 20 13:51:24 2013 -0500 |
tree | 549152a7a89175058dacd37a5a697b67c2014451 | |
parent | 7bd4b72d9ee0090b8f65049186fbb45adda2ec9e [diff] |
powerpc/mpc85xx: explicit cast the SDRAM size to type phys_size_t To avoid sign extension problem, use explicit casting to cast the SDRAM size to type phys_size_t, or else, if the SDRAM size is 2G(0x80000000), it will be extended to 0xffffffff80000000 when phys_size_t is type 'unsigned long long'. Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>