commit | 3f088061ea146b77fcff5b0d6974f7ad84066382 | [log] [tgz] |
---|---|---|
author | Jason Jin <Jason.jin@freescale.com> | Fri Sep 19 17:32:49 2008 +0800 |
committer | Wolfgang Denk <wd@denx.de> | Tue Oct 14 13:27:16 2008 +0200 |
tree | fee29df48acb4e7264a6ffcaa6587f0a2287ce54 | |
parent | 48b5439a4bfe53d79c82ecb8f0a42cea869ea339 [diff] |
Fix the NAND size overflow issue. When the total size of all NAND devices exceeds 4 GiB, the size will overflow. This patch tries to fix this. Note that we still have a problem when a single NAND device is bigger than 4 GiB: then the overflow would actually happen earlier, i. e. when storing the size in nand_info[].size, as nand_info[].size is an "u_int32_t". Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Wolfgang Denk <wd@denx.de>