ive posted the patches that work for me and include the latest feedback.
please double check they still work for ramtron, and i'll push them over to
wolfgang. or try my sf branch as it is latest master + those branches.
-mike
signature.asc
Description: This is a digitally signed message
On Tuesday, October 05, 2010 10:56:39 Reinhard Meyer wrote:
+ /*
+ * count the number of continuation bytes, but
+ * leave at least 3 bytes to the end of the buffer untouched
+ */
+ for (shift = 0, idp = idbuf;
+ shift (sizeof(idbuf) - 3) *idp == 0x7f;
+
Dear Mike Frysinger,
On Tuesday, October 05, 2010 10:56:39 Reinhard Meyer wrote:
+/*
+ * count the number of continuation bytes, but
+ * leave at least 3 bytes to the end of the buffer untouched
+ */
+for (shift = 0, idp = idbuf;
+shift (sizeof(idbuf) - 3)
On Monday, October 11, 2010 03:56:26 Reinhard Meyer wrote:
Dear Mike Frysinger,
On Tuesday, October 05, 2010 10:56:39 Reinhard Meyer wrote:
+ /*
+ * count the number of continuation bytes, but
+ * leave at least 3 bytes to the end of the buffer untouched
+ */
+ for (shift =
Dear Mike Frysinger,
NONE of the existing functions work with expansion, so they all get the
unshifted, full ID buffer.
err, right. was thinking it also shifted off the manu id byte and not just
the continuation bytes.
i'll tweak the patch i posted and pull in your ramtron patch.
for JEDEC devices without and with extension bytes
for non JEDEC devices
Signed-off-by: Reinhard Meyer u-b...@emk-elektronik.de
---
drivers/mtd/spi/spi_flash.c | 137 +--
1 files changed, 93 insertions(+), 44 deletions(-)
diff --git
6 matches
Mail list logo