On Thu, Feb 13, 2014 at 09:48:24AM +0100, Hector Palacios wrote:

> The calloc() call was allocating space for the sizeof the struct
> pointer rather than for the struct contents.
> Besides, since this buffer is passed to mmc for writing and some
> platforms may use cache, the legacy_mbr struct should be cache-aligned.
> 
> Signed-off-by: Hector Palacios <[email protected]>
> Tested-by: Lukasz Majewski <[email protected]>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to