linux/drivers/mtd/onenand
Adrian Hunter 69423d99fc [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.  Extending the external API
is a separate issue for several reasons.  First, no one
needs it at the moment.  Secondly, whether the implementation
is done with IOCTLs, sysfs or both is still debated.  Thirdly
external API changes require the internal API to be accepted
first.

Note that although the MTD API will be able to support 64-bit
device sizes, existing drivers do not and are not required
to do so, although NAND base has been updated.

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
    	- NAND base support
	- 32-bit local variables used by mtdpart and mtdconcat
	- naughtily assuming one structure maps to another
	in MEMERASE ioctl

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-12-10 13:37:21 +00:00
..
generic.c [MTD] [MAPS] Fix cmdlineparse handling in mapping files 2008-06-05 07:51:13 +01:00
Kconfig [MTD] [OneNAND] Add OMAP2 / OMAP3 OneNAND driver 2008-08-12 11:07:37 +01:00
Makefile [MTD] [OneNAND] Add OMAP2 / OMAP3 OneNAND driver 2008-08-12 11:07:37 +01:00
omap2.c [MTD] [NAND] OMAP: OneNAND: header file relocation (part 2) 2008-11-26 10:08:13 +00:00
onenand_base.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
onenand_bbt.c [MTD] [OneNAND] proper onenand_bbt_read_oob() prototype 2008-04-22 15:59:13 +01:00
onenand_sim.c [MTD] [OneNAND] Fix wrong free the static address in onenand_sim 2007-10-22 09:57:28 +01:00