From: Hans-Christian Egtvedt Date: Thu, 5 Nov 2009 14:53:37 +0000 (+0100) Subject: mtd: add lock fixup for AT49BV640D and AT49BV640DT chips X-Git-Tag: v2.6.33-rc1~66^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dbaea4bfcecacaf496a3e2ae92867baedbcab8e;p=pandora-kernel.git 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 Acked-by: Nicolas Pitre Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed