u-boot-brain/include/linux/mtd
Ben Gardiner 4ba692fb1e mtd: add an mtd method for get_len_incl_bad()
The logic to 'spread' mtd partitions needs to calculate the length in
the mtd device, including bad blocks.

This patch introduces a new function, mtd_get_len_incl_bad that can
return both the length including bad blocks and whether that length
was truncated on the device. This new function will be used by the
mtdparts spread command later in this series. The definition of the
function is #ifdef'd out in configurations that do not use the new
'mtdparts spread' command.

Signed-off-by: Ben Gardiner<bengardiner@nanometrics.ca>
CC: Scott Wood <scottwood@freescale.com>
2010-10-11 15:11:00 -05:00
..
bbm.h NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS 2009-01-23 10:32:51 -06:00
blktrans.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
compat.h move definition of macros likely and unlikely to compiler.h 2010-01-18 00:28:27 +01:00
concat.h Coding style cleanup; update CHANGELOG 2009-07-07 22:35:02 +02:00
doc2000.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
fsl_upm.h Add wait flags to support board/chip specific delays 2009-03-23 15:53:40 -05:00
inftl-user.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
jffs2-user.h Update MTD to that of Linux 2.6.22.1 2008-08-12 11:31:15 -05:00
mtd-abi.h NAND:Extending the nand_ecclayout structure 2009-11-18 14:26:39 -06:00
mtd.h mtd: add an mtd method for get_len_incl_bad() 2010-10-11 15:11:00 -05:00
nand_ecc.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
nand.h NAND: Update to support 64 bit device size 2009-11-13 16:56:14 -06:00
ndfc.h Add support for AMCC Sequoia PPC440EPx eval board 2006-09-07 11:51:23 +02:00
nftl-user.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
nftl.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
onenand_regs.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
onenand.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
partitions.h NAND: Update to support 64 bit device size 2009-11-13 16:56:14 -06:00
samsung_onenand.h s5pc1xx: SMDKC100: fix compile warnings 2009-10-24 09:55:25 -05:00
ubi.h Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00