linux-stable-rt/drivers/mtd/chips
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
..
Kconfig
Makefile
amd_flash.c
cfi_cmdset_0001.c [MTD] Fixes of performance and stability issues in CFI driver. 2006-07-15 13:43:59 +01:00
cfi_cmdset_0002.c [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
cfi_cmdset_0020.c
cfi_probe.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cfi_util.c
chipreg.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fwh_lock.h
gen_probe.c
jedec.c
jedec_probe.c [PATCH] MTD: Add Macronix MX29F040 to JEDEC 2006-08-14 19:48:30 -05:00
map_absent.c
map_ram.c
map_rom.c
sharp.c