diff options
| author | Mingkai Hu <[email protected]> | 2013-04-12 15:56:28 +0800 |
|---|---|---|
| committer | Andy Fleming <[email protected]> | 2013-06-20 13:51:24 -0500 |
| commit | 76d354f411696d6e19fd3156d18cb0359887ce8a (patch) | |
| tree | 549152a7a89175058dacd37a5a697b67c2014451 /include | |
| parent | 7dd09b546d11722284d48ade55d0f800ee3cff75 (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 <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
