summaryrefslogtreecommitdiff
path: root/flashchips.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-11-04 21:35:26 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-11-04 21:35:26 +0000
commit532c717bccc95aa93bae7af8be0695bee83c32b5 (patch)
tree406d46e209a8a56f176c7afa20f14754800e77d9 /flashchips.h
parentb992d3433974479909e6fd584dd798d4badf27b9 (diff)
downloadflashrom-git-532c717bccc95aa93bae7af8be0695bee83c32b5.tar.gz
Add opaque programmer registration infrastructure
An opaque programmer does not allow direct flash access and only offers abstract probe/read/erase/write methods. Due to that, opaque programmers need their own infrastructure and registration framework. Corresponding to flashrom svn r1459. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'flashchips.h')
-rw-r--r--flashchips.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/flashchips.h b/flashchips.h
index 2c939e49..03efb86d 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -646,4 +646,7 @@
#define WINBOND_W49V002A 0xB0
#define WINBOND_W49V002FA 0x32
+#define PROGMANUF_ID 0xFFFE /* dummy ID for opaque chips behind a programmer */
+#define PROGDEV_ID 0x01 /* dummy ID for opaque chips behind a programmer */
+
#endif /* !FLASHCHIPS_H */