linux-kernel-test/drivers/mtd
Håvard Skinnemoen 187ef15268 [MTD] Unlock NOR flash automatically where necessary
Introduce the MTD_STUPID_LOCK flag which indicates that the flash chip is
always locked after power-up, so all sectors need to be unlocked before it
is usable.

If this flag is set, and the chip provides an unlock() operation,
mtd_add_device will unlock the whole MTD device if it's writeable.  This
means that non-writeable partitions will stay locked.

Set MTD_STUPID_LOCK in fixup_use_atmel_lock() so that these chips will work
as expected.

Signed-off-by: Håvard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-09-22 10:07:08 +01:00
..
chips [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
devices [PATCH] [MTD] DEVICES: Fill more device IDs in the structure of m25p80 2006-09-05 05:55:07 -05:00
maps [PATCH] [MTD] Maps: Add dependency on alternate probe methods to physmap 2006-08-15 07:26:32 -05:00
nand Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-08-30 23:30:38 +01:00
onenand [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
afs.c
cmdlinepart.c [PATCH] mtd cmdlinepart: allow zero offset value 2006-03-31 12:18:48 -08:00
ftl.c
inftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
inftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-06-26 11:05:15 -07:00
Makefile
mtd_blkdevs.c [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
mtdblock_ro.c Make mtdblock_ro unconditionally readonly 2006-04-17 15:48:16 +01:00
mtdblock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtdchar.c [MTD] Use SEEK_{SET,CUR,END} instead of hardcoded values in mtdchar lseek() 2006-09-17 17:04:23 +01:00
mtdconcat.c [MTD] NAND Expose the new raw mode function and status info to userspace 2006-05-30 00:37:34 +02:00
mtdcore.c [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
mtdpart.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Fix build warnings in RedBoot MTD partition parser. 2006-05-16 17:31:15 +01:00
rfd_ftl.c [MTD] RFD FTL: Be noisier, and don't assume block without RFD magic are erased 2006-05-17 12:45:34 +01:00