Re: [U-Boot] [PATCH V5 1/2] MTD/SPI: introduce table driven probing

2010-10-12 Thread Mike Frysinger
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

Re: [U-Boot] [PATCH V5 1/2] MTD/SPI: introduce table driven probing

2010-10-11 Thread 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) *idp == 0x7f; +

Re: [U-Boot] [PATCH V5 1/2] MTD/SPI: introduce table driven probing

2010-10-11 Thread Reinhard Meyer
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)

Re: [U-Boot] [PATCH V5 1/2] MTD/SPI: introduce table driven probing

2010-10-11 Thread Mike Frysinger
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 =

Re: [U-Boot] [PATCH V5 1/2] MTD/SPI: introduce table driven probing

2010-10-11 Thread Reinhard Meyer
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.

[U-Boot] [PATCH V5 1/2] MTD/SPI: introduce table driven probing

2010-10-05 Thread Reinhard Meyer
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