linux/include/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
..
inftl-user.h [MTD] user-abi: Clean up trailing white spaces 2005-11-07 14:43:11 +01:00
jffs2-user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kbuild Add generic Kbuild files for 'make headers_install' 2006-06-18 12:14:01 +01:00
mtd-abi.h [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
mtd-user.h [MTD] NAND Replace oobinfo by ecclayout 2006-05-29 15:06:50 +02:00
nftl-user.h [MTD] user-abi: Clean up trailing white spaces 2005-11-07 14:43:11 +01:00