uboot/drivers/mtd
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
..
nand Revert "sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory" 2015-06-28 11:46:31 -04:00
onenand
spi sf: Kconfig: Add SPI_FLASH_BAR entry 2015-07-01 21:39:06 +05:30
ubi
Kconfig
Makefile mtd, nand: Move common functions from cmd_nand.c to common place 2015-06-30 00:40:11 +05:30
at45.c
cfi_flash.c
cfi_mtd.c
dataflash.c
ftsmc020.c
jedec_flash.c
mtd_uboot.c mtd: fix false positive "Offset exceeds device limit" error 2015-07-10 09:38:50 -04:00
mtdconcat.c
mtdcore.c
mtdcore.h
mtdpart.c
mw_eeprom.c
st_smi.c