9
0
Fork 0
barebox/drivers/mtd/devices
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
..
Kconfig Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
Makefile m25p80: re-import it againt mtd_add_host 2012-11-20 09:40:23 +01:00
docg3.c mtd: Pass device_id to add_mtd_device 2013-10-29 09:10:21 +01:00
docg3.h drivers/mtd: add docg3 chip 2012-01-02 12:34:58 +01:00
m25p80.c mtd: Update internal API to support 64-bit device size 2014-03-12 21:26:37 +01:00
mtd_dataflash.c mtd: Update internal API to support 64-bit device size 2014-03-12 21:26:37 +01:00