9
0
Fork 0
barebox/drivers/mtd
Dmitry Lavnikevich 1ee640765a mtd: Update internal API to support 64-bit device size
MTD internal API presently uses 32-bit values to represent device
size. This patch updates them to 64-bits but leaves the external API
unchanged.

In general, changing from 32-bit to 64-bit values cause little
or no changes to the majority of the code with the following
exceptions:
  - printk message formats;
  - division and modulus of 64-bit values (mtd_div_by_wb,
    mtd_div_by_eb may be used in some of such cases).

Was tested on phyFLEX i.MX6.

Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Signed-off-by: Grigory Milev <g.milev@sam-solutions.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-03-12 21:26:37 +01:00
..
devices mtd: Update internal API to support 64-bit device size 2014-03-12 21:26:37 +01:00
nand Merge branch 'for-next/partitionhelper' 2014-03-07 09:25:53 +01:00
nor cfi_flash: fix NULL pointer dereference 2014-02-28 09:03:04 +01:00
ubi Merge branch 'for-next/ubi' 2014-03-07 09:26:35 +01:00
Kconfig UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
Makefile UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
core.c mtd: Update internal API to support 64-bit device size 2014-03-12 21:26:37 +01:00
mtd.h mtd: add private data to mtddev-hook 2012-09-03 11:06:01 +02:00
mtdoob.c mtd: Update internal API to support 64-bit device size 2014-03-12 21:26:37 +01:00
mtdraw.c mtd: Update internal API to support 64-bit device size 2014-03-12 21:26:37 +01:00
partition.c mtd: register mtd partitions as real mtd devices 2014-02-26 08:33:18 +01:00