]> git.dujemihanovic.xyz Git - u-boot.git/commit
disk: efi: correct the allocation size for mbr header in stack
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 17 Nov 2017 09:08:18 +0000 (10:08 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commit3cc566117e18f5b3fe3e79a593bee32703f83192
treee9e7a18cb5459cbe90c8a5a573ed361ad6fa8eb1
parentaaa4ba930ca3bbc98f33651b175480ba86aa4dd2
disk: efi: correct the allocation size for mbr header in stack

use ALLOC_CACHE_ALIGN_BUFFER_PAD for mbr header allocation
in stack to fix alloc issue in is_gpt_valid()

this patch fix also issue for GPT partition handling
with blocksize != 512 in set_protective_mbr()

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
disk/part_efi.c