Files
u-boot/include
Masahiro Yamada f18d11163e mtd: fix false positive "Offset exceeds device limit" error
Since commit 09c3280754 (mtd, nand: Move common functions from
cmd_nand.c to common place), NAND commands would not work at all
on large devices.

    => nand read 80000000 10000 10000

    NAND read: Offset exceeds device limit
    => nand erase 100000 100000

    NAND erase: Offset exceeds device limit

The type of the "size" of "struct mtd_info" is uint64_t, while
mtd_arg_off_size() and mtd_arg_off() treat chipsize as int type.
The chipsize is wrapped around if the argument is given with 2GB
or larger.

Acked-by: Heiko Schocher <hs@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-07-10 09:38:50 -04:00
..
2015-05-19 15:13:38 +02:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2015-04-29 21:02:33 -06:00
2015-04-10 14:23:23 +02:00
2015-06-10 19:26:55 -06:00
2015-05-28 08:18:24 -04:00
2015-04-23 16:46:50 -07:00
2015-03-05 08:56:39 -05:00
2015-04-23 09:05:53 -06:00
2015-05-05 12:29:36 +03:00
2015-06-04 03:34:47 -06:00
2015-06-04 02:39:39 -06:00
2015-04-20 17:57:13 -05:00
2015-07-01 21:15:03 +05:30
2015-07-01 21:15:03 +05:30
2015-03-05 20:50:29 -05:00