summaryrefslogtreecommitdiffstats
path: root/mx29f002.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2002-04-09 23:57:21 +0000
committerRonald G. Minnich <rminnich@gmail.com>2002-04-09 23:57:21 +0000
commit3193a90719249d5849aa854e456fa46b2be81e50 (patch)
treec937a2fa0fc91839a8f822ab426afbacde92659a /mx29f002.c
parent5e8dfff2c3ed127f1d4b18d11d60a341eaa97ebb (diff)
downloadast2050-flashrom-3193a90719249d5849aa854e456fa46b2be81e50.zip
ast2050-flashrom-3193a90719249d5849aa854e456fa46b2be81e50.tar.gz
Fix idiot bug, thanks to Mikael Halvarsson <mi.halvarsson@telia.com>
Corresponding to coreboot v1 svn r540.
Diffstat (limited to 'mx29f002.c')
-rw-r--r--mx29f002.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mx29f002.c b/mx29f002.c
index 7b7f1e1..38b0c06 100644
--- a/mx29f002.c
+++ b/mx29f002.c
@@ -101,7 +101,7 @@ int write_29f002 (struct flashchip * flash, char * buf)
*(bios + 0x5555) = 0xAA;
*(bios + 0x2AAA) = 0x55;
*(bios + 0x5555) = 0xA0;
- *dst++ = 0x33;
+ *dst++ = *buf++;
/* wait for Toggle bit ready */
toggle_ready_jedec(dst);
OpenPOWER on IntegriCloud