Use bus probing for 82802AB
We probe for chip sizes from 256KiB to 2MiB, with and without shifted
addresses (for x16 chips). That makes 8 probing calls that currently
cover 28 chips in our database.
Change-Id: I3dd753efb3152a8a103ca88b941802b815a8180a
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/442
diff --git a/parallel.c b/parallel.c
index 5446e1a..e5c39a7 100644
--- a/parallel.c
+++ b/parallel.c
@@ -78,6 +78,7 @@
static const struct bus_probe memory_probes[] = {
/* prio. type function function argument */
+ { 0, ID_82802AB, probe_82802ab, NULL },
};
static bool memory_probe_match(const struct flashchip *chip, const struct id_info_ext *found)