Re: [Openocd-development] [PATCH/RFC] NAND/davinci: Fix segfault for hwecc4_infix reads

2010-05-18 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list

[Openocd-development] [PATCH/RFC] NAND/davinci: Fix segfault for hwecc4_infix reads

2010-05-17 Thread Jon Povey
Page reads using hwecc4_infix layout segfaulted for check_bad_blocks because the read assumed a valid data buffer, which check_bad_blocks does not use (it only passes a 6 byte buffer for the start of OOB). This version copes with undersized or missing data or oob buffers and uses random read

Re: [Openocd-development] [PATCH/RFC] NAND/davinci: Fix segfault for hwecc4_infix reads

2010-05-17 Thread Øyvind Harboe
I don't know the nand code very well, but I intend to apply this unless anyone objects given your record so far. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer