summaryrefslogtreecommitdiffstats
path: root/mx29f002.c
diff options
context:
space:
mode:
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