]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
cfi_cmdset_0001: factorize code to wait for flash status
authorNicolas Pitre <nico@cam.org>
Thu, 30 Mar 2006 14:52:41 +0000 (15:52 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 17 May 2006 00:25:37 +0000 (01:25 +0100)
commitc172471b78255a5cf6d05383d9ebbf0c6683167a
treeecb18d8ef5686eeb11f14a8b9d6e12df03ba7520
parent6e7a6809c555aeb7cb98544df4d446fbd6f123ec
cfi_cmdset_0001: factorize code to wait for flash status

This allows for much better abstraction and separation of the XIP and
non-XIP cases with their own specific implementations.  This fixes the
case where a timeout was tripped on in the XIP case by the code that
was meant for the non-XIP case only.

This also makes for a nice code reduction.

Signed-off-by: Nicolas Pitre <nico@cam.org>
CC: "Alexey, Korolev" <alexey.korolev@intel.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c