summaryrefslogtreecommitdiffstats
path: root/82802ab.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-12 08:28:56 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-12 08:28:56 +0000
commit4404f73bd9ba7b4014bcd7a38e533f67027aa854 (patch)
tree6e759d9d533e8d1bd7e736607c411232412b18f8 /82802ab.c
parent4c6d3a4b732732eb20bfb0fc9d857abaa4c41c88 (diff)
downloadast2050-flashrom-4404f73bd9ba7b4014bcd7a38e533f67027aa854.zip
ast2050-flashrom-4404f73bd9ba7b4014bcd7a38e533f67027aa854.tar.gz
Cleanup ST M50 driver
There are two locking strategies used by this umbrella family, one uniform and one that matches the sector layout of the chip. Refactor the functions involved and rename the overly complicated file to just stm50.c and the functions accordingly. This fixes unlocking of some of the non-uniform chips and gets rid of the abuse of page_size. Corresponding to flashrom svn r1736. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to '82802ab.c')
-rw-r--r--82802ab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/82802ab.c b/82802ab.c
index 608995d..2a43813 100644
--- a/82802ab.c
+++ b/82802ab.c
@@ -89,6 +89,7 @@ int probe_82802ab(struct flashctx *flash)
return 1;
}
+/* FIXME: needs timeout */
uint8_t wait_82802ab(struct flashctx *flash)
{
uint8_t status;
OpenPOWER on IntegriCloud