cfi-flash: Added support to flash_real_protect for Atmel flash devices
authorRafael Campos <rafael.campos@hanscan.com>
Thu, 31 Jul 2008 08:22:20 +0000 (10:22 +0200)
committerStefan Roese <sr@denx.de>
Wed, 6 Aug 2008 12:22:41 +0000 (14:22 +0200)
commitbc9019e19758a19a388fb20ef18dc771cd39fdda
tree2b47d4b039b04bc0244ca8a04a069306abf49097
parent7949839e5836bf8b1074bb6142c46d30ac3aa350
cfi-flash: Added support to flash_real_protect for Atmel flash devices

Some of the flash memories produced by ATMEL start in read-only mode.
We need to unprotect it. This patch allows the AT49BV6416 to work with
cfi_flash memories. Tested in the at91rm9200ek board.

Signed-off-by: Rafael Campos Las Heras <rafael.campos@hanscan.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c