Use bus probing for W29EE011
This peculiar probing function is only used for a single chip in our
database. Hence, we run it only for its 128KiB chip size. Because it
can cause trouble with other chips, it gets a lower priority, and is
only called if no higher-priority probing function returned any data.
Change-Id: I90fb5aaea73e610a53b183383ebfe76a748ddffd
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/443
diff --git a/parallel.c b/parallel.c
index e5c39a7..e182394 100644
--- a/parallel.c
+++ b/parallel.c
@@ -79,6 +79,9 @@
static const struct bus_probe memory_probes[] = {
/* prio. type function function argument */
{ 0, ID_82802AB, probe_82802ab, NULL },
+ /* Old Winbond W29* probe method w/ low priority because the
+ probing sequence puts the AMIC A49LF040A in a funky state. */
+ { 1, ID_W29EE011, probe_w29ee011, NULL },
};
static bool memory_probe_match(const struct flashchip *chip, const struct id_info_ext *found)