]> git.sur5r.net Git - u-boot/commit
sf: unify status register writing (and thus block unlocking)
authorMike Frysinger <vapier@gentoo.org>
Mon, 5 Mar 2012 04:18:17 +0000 (23:18 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 5 Mar 2012 04:18:17 +0000 (23:18 -0500)
commit41e1713425d9817fdbe4fc89ad11b8dc9c4fca30
treecc284fbfb28cd5da90278a9af9849596cb82548e
parent7a6d2a7ec1afb53df8b78185fe77d66423c8dcea
sf: unify status register writing (and thus block unlocking)

The only two drivers to write the status register do it in the same
way, so unify the implementations.  This also makes the block unlock
logic the same.

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