summaryrefslogtreecommitdiffstats
path: root/m29f400bt.c
diff options
context:
space:
mode:
Diffstat (limited to 'm29f400bt.c')
-rw-r--r--m29f400bt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/m29f400bt.c b/m29f400bt.c
index 5c36db9..c327f44 100644
--- a/m29f400bt.c
+++ b/m29f400bt.c
@@ -20,6 +20,12 @@
#include "flash.h"
+/* WARNING!
+ This chip uses the standard JEDEC Addresses in 16-bit mode as word
+ addresses. In byte mode, 0xAAA has to be used instead of 0x555 and
+ 0x555 instead of 0x2AA. Do *not* blindly replace with standard JEDEC
+ functions. */
+
void write_page_m29f400bt(chipaddr bios, uint8_t *src,
chipaddr dst, int page_size)
{
OpenPOWER on IntegriCloud