Skip to content
Commit fecb5ade authored by Jason Jin's avatar Jason Jin Committed by Wolfgang Denk
Browse files

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: default avatarJason Jin <Jason.jin@freescale.com>
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 65d4a75f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment