[U-Boot] [PATCH] spi flash: fix crash due to spi flash miscommunication

Mike Frysinger vapier at gentoo.org
Mon Jan 19 01:29:58 CET 2009


On Monday 05 January 2009 03:17:00 Haavard Skinnemoen wrote:
> Mike Frysinger wrote:
> > From: Brad Bozarth <bflinux at yumbrad.com>
> >
> > Higher spi flash layers expect to be given back a pointer that was
> > malloced so that it can free the result, but the lower layers return a
> > pointer that is in the middle of the malloced memory.  Reorder the
> > members of the lower spi structures so that things work out.
> >
> > Signed-off-by: Brad Bozarth <bflinux at yumbrad.com>
> > Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> > CC: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
>
> Acked-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>

Wolfgang: this should be in for the next release ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090118/2e48b7c9/attachment.pgp 


More information about the U-Boot mailing list