]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sf: unify status polling for ready bit
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 07:20:12 +0000 (02:20 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Apr 2011 19:00:53 +0000 (21:00 +0200)
commit6163045bcd276818d9ad6bdd1bf36ddcd60d014b
tree732ba3dd3b07977e38c773960dfb76c78ee4ab09
parent000044d8bfdc803a1a97e68ba95f289bfe5ad149
sf: unify status polling for ready bit

All of the spi flash drivers implement the status register polling for
detecting the device ready state, so unify them all in a new helper
function -- spi_flash_wait_ready.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/atmel.c
drivers/mtd/spi/eon.c
drivers/mtd/spi/macronix.c
drivers/mtd/spi/spansion.c
drivers/mtd/spi/spi_flash.c
drivers/mtd/spi/spi_flash_internal.h
drivers/mtd/spi/sst.c
drivers/mtd/spi/stmicro.c
drivers/mtd/spi/winbond.c