summaryrefslogtreecommitdiff
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-03-15 03:48:42 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-03-15 03:48:42 +0000
commitc61198a18c6a46d3ebd4c589f2d68643f0169fa2 (patch)
treed0a52cd813ab3249409a3d95cb1b66f9339bc75e /chipdrivers.h
parente1bb5641890ea00d40b26545ce5f9f5ba87642b1 (diff)
downloadflashrom-c61198a18c6a46d3ebd4c589f2d68643f0169fa2.tar.gz
Add FEATURE_REGISTERMAP to
* Intel 82802AB, 82802AC * Sharp LHF00L04 * SST SST49LF004C, SST49LF008C, SST49LF016C, SST49LF160C * ST M50FLW040A, M50FLW040B, M50FLW080A, M50FLW080B, M50FW002, M50FW016 M50FW040, M50FW080, M50LPW116 Make register mapping conditional on FEATURE_REGISTERMAP in 82802ab.c. Replace probe_49lfxxxc with probe_82802ab. Replace probe_28sf040 with probe_82802ab. Replace probe_sst_fwhub with probe_jedec. Add printlock_sst_fwhub to chips which used probe_sst_fwhub. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@937 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index a378803..6b9f9d6 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -112,11 +112,11 @@ int write_49lfxxxc(struct flashchip *flash, uint8_t *buf);
int unlock_49lfxxxc(struct flashchip *flash);
/* sst_fwhub.c */
-int probe_sst_fwhub(struct flashchip *flash);
int erase_sst_fwhub(struct flashchip *flash);
int erase_sst_fwhub_block(struct flashchip *flash, unsigned int offset, unsigned int page_size);
int erase_sst_fwhub_sector(struct flashchip *flash, unsigned int offset, unsigned int page_size);
int write_sst_fwhub(struct flashchip *flash, uint8_t *buf);
+int printlock_sst_fwhub(struct flashchip *flash);
/* w39v040c.c */
int probe_w39v040c(struct flashchip *flash);