mtd: add lock fixup for AT49BV640D and AT49BV640DT chips
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 5 Nov 2009 14:53:37 +0000 (15:53 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:51:01 +0000 (09:51 +0000)
commit8dbaea4bfcecacaf496a3e2ae92867baedbcab8e
treea30181fe2d82e6d59b49723a47a52f565756b8b3
parent35016dd7e92cf0eb5ae2e811445dd52320c348d0
mtd: add lock fixup for AT49BV640D and AT49BV640DT chips

This patch sets the MTD_POWERUP_LOCK flag for AT49BV640D and AT49BV640DT
devices, since the devices are locked when powered up and needs to be unlocked
before interfaced.

Quote datasheet; "At power-up and reset, all sectors have their Softlock
protection mode enabled.".

Tested on AVR32 hardware platform with an AT49BV640D flash device.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_cmdset_0001.c