summaryrefslogtreecommitdiffstats
path: root/jedec.h
diff options
context:
space:
mode:
authorOllie Lho <ollie@sis.com.tw>2004-03-27 00:18:15 +0000
committerOllie Lho <ollie@sis.com.tw>2004-03-27 00:18:15 +0000
commit8b8897a5fd6325ae4709e3066107c3e419cd7fd6 (patch)
tree43195dce8ff0bebae971ac8c2f80162eacc3de01 /jedec.h
parent070647d114d767a3b31df2659fd351047d6eee61 (diff)
downloadflashrom-8b8897a5fd6325ae4709e3066107c3e419cd7fd6.tar.gz
flashrom-8b8897a5fd6325ae4709e3066107c3e419cd7fd6.tar.bz2
flashrom-8b8897a5fd6325ae4709e3066107c3e419cd7fd6.zip
Remove false alarm of erase/write, use verify '-v' if you are not sure about the integrity
Corresponding to flashrom svn r19 and coreboot v2 svn r1486.
Diffstat (limited to 'jedec.h')
-rw-r--r--jedec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jedec.h b/jedec.h
index 4a8691318..5e7bf2e13 100644
--- a/jedec.h
+++ b/jedec.h
@@ -17,7 +17,7 @@ extern __inline__ void toggle_ready_jedec(volatile char *dst)
tmp1 = *dst & 0x40;
- while (i++ < 0xFFFFFF) {
+ while (i++ < 0xFFFFFFF) {
tmp2 = *dst & 0x40;
if (tmp1 == tmp2) {
break;
@@ -33,7 +33,7 @@ extern __inline__ void data_polling_jedec(volatile char *dst, char data)
data &= 0x80;
- while (i++ < 0xFFFFFF) {
+ while (i++ < 0xFFFFFFF) {
tmp = *dst & 0x80;
if (tmp == data) {
break;