1
linux/drivers/mtd
Rod Whitby f33665d931 [MTD] Support combined RedBoot FIS directory and configuration area
RedBoot supports storing the FIS directory and the RedBoot
configuration area in the same block of flash memory.  This is
not the most common RedBoot configuration, but it is used on
commercially available boards supported by the kernel.

A recent patch to mtd/redboot.c (http://lkml.org/lkml/2006/3/20/410)
which corrected the skipping of deleted table entries has exposed the
latent problem of the kernel redboot parser running off the end of the
FIS directory and interpreting the RedBoot configuration information
as table entries.

This patch terminates the table parsing when the first truly empty
entry is found (table entry deletion only clears the first byte of the
name, so two cleared bytes in a row indicates the end of the table),
thereby supporting the combined redboot FIS directory and RedBoot
configuration information flash layout scenario.

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-12-08 13:28:26 +00:00
..
chips Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-01 09:56:43 +00:00
devices [MTD] bugfix: DataFlash is not bit writable 2006-12-01 10:30:45 +02:00
maps [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
nand [MTD] NAND: Support for 16-bit bus-width on AT91. 2006-12-08 13:25:17 +00:00
onenand [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
afs.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
cmdlinepart.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ftl.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
inftlcore.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
inftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
Kconfig [MTD] add MTD_BLKDEVS Kconfig option 2006-11-29 16:58:15 +02:00
Makefile [MTD] add MTD_BLKDEVS Kconfig option 2006-11-29 16:58:15 +02:00
mtd_blkdevs.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdblock_ro.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdblock.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdchar.c [MTD] return error code from get_mtd_device() 2006-11-29 17:06:38 +02:00
mtdconcat.c [MTD] NAND: add subpage write support 2006-11-29 17:03:52 +02:00
mtdcore.c [MTD] Use EXPORT_SYMBOL_GPL() for exported symbols. 2006-11-29 16:33:03 +00:00
mtdpart.c [MTD] NAND: add subpage write support 2006-11-29 17:03:52 +02:00
nftlcore.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
nftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Support combined RedBoot FIS directory and configuration area 2006-12-08 13:28:26 +00:00
rfd_ftl.c [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
ssfdc.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00