summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-04-03 10:27:08 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-04-03 10:27:08 +0000
commitad0010a67a9d9fdfe03164bec8d10607b882cec2 (patch)
treed94bd51665ece058ae418dd66f3bdffce0c202c5 /flash.h
parent253101e69e217e02802b6f7de453cb6b209f1dfa (diff)
downloadast2050-flashrom-ad0010a67a9d9fdfe03164bec8d10607b882cec2.zip
ast2050-flashrom-ad0010a67a9d9fdfe03164bec8d10607b882cec2.tar.gz
Intel 28F004/28F400 support
Remove blockwise write for i82802ab chips. It will be reintroduced in post-0.9.2 in a generic way. This is needed to fix FWH-like chips with non-uniform sectors. These are: Intel 28F001 Sharp LHF00L04 ST M50FW002 ST M50LPW116 Corresponding to flashrom svn r991. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index aee95a3..0a74363 100644
--- a/flash.h
+++ b/flash.h
@@ -166,7 +166,7 @@ enum chipbustype {
#define FEATURE_ADDR_MASK (3 << 2)
#define FEATURE_ADDR_2AA (1 << 2)
#define FEATURE_ADDR_AAA (2 << 2)
-#define FEATURE_ADDR_SHIFTED 0
+#define FEATURE_ADDR_SHIFTED (1 << 5)
struct flashchip {
const char *vendor;
OpenPOWER on IntegriCloud