diff options
author | Hector Palacios <hector.palacios@digi.com> | 2014-02-13 09:48:24 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-24 10:56:07 -0500 |
commit | 61fcc7d2757bc5d6bf52739e4fc7132b5fa84efe (patch) | |
tree | 962b8e81b6692c5266694597d674f531f9aa0887 /common/image.c | |
parent | 1674df60d17e0e72396c961d5390bb62b184ad95 (diff) | |
download | u-boot-imx-61fcc7d2757bc5d6bf52739e4fc7132b5fa84efe.zip u-boot-imx-61fcc7d2757bc5d6bf52739e4fc7132b5fa84efe.tar.gz u-boot-imx-61fcc7d2757bc5d6bf52739e4fc7132b5fa84efe.tar.bz2 |
part_efi: fix protective mbr struct allocation
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 <hector.palacios@digi.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'common/image.c')
0 files changed, 0 insertions, 0 deletions