CFI: cfi_flash write fix for AMD legacy
authorEd Swarthout <Ed.Swarthout@freescale.com>
Thu, 9 Oct 2008 06:26:36 +0000 (01:26 -0500)
committerStefan Roese <sr@denx.de>
Mon, 13 Oct 2008 11:51:21 +0000 (13:51 +0200)
commit0d01f66d235118515b5086b88f82498bc0695d6a
treef86532acdc183f9a42f9893da6c5975b7b4d0a5b
parentdf4a0796e86662536df2387ddcf969c2a704bcc2
CFI: cfi_flash write fix for AMD legacy

The flash_unlock_seq requires a sector for AMD_LEGACY.
Fix a retcode check typeo.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c