[U-Boot] [PATCH] disk: fix unaligned access in efi partitions

2013-03-29 Thread Marc Dietrich
start_sect is not aligned to a 4 byte boundary thus causing exceptions on ARM platforms. Access this field via the get_unaligned macro. Signed-off-by: Marc Dietrich marvi...@gmx.de --- disk/part_efi.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/disk/part_efi.c

Re: [U-Boot] [PATCH] disk: fix unaligned access in efi partitions

2013-03-29 Thread Albert ARIBAUD
Hi Marc, On Fri, 29 Mar 2013 12:28:58 +0100, Marc Dietrich marvi...@gmx.de wrote: start_sect is not aligned to a 4 byte boundary thus causing exceptions on ARM platforms. Access this field via the get_unaligned macro. Signed-off-by: Marc Dietrich marvi...@gmx.de --- disk/part_efi.c |

Re: [U-Boot] [PATCH] disk: fix unaligned access in efi partitions

2013-03-29 Thread Marc Dietrich
Albert, On Friday 29 March 2013 13:32:26 Albert ARIBAUD wrote: On Fri, 29 Mar 2013 12:28:58 +0100, Marc Dietrich marvi...@gmx.de wrote: start_sect is not aligned to a 4 byte boundary thus causing exceptions on ARM platforms. Access this field via the get_unaligned macro. Signed-off-by:

Re: [U-Boot] [PATCH] disk: fix unaligned access in efi partitions

2013-03-29 Thread Stephen Warren
On 03/29/2013 09:13 AM, Marc Dietrich wrote: On Friday 29 March 2013 13:32:26 Albert ARIBAUD wrote: On Fri, 29 Mar 2013 12:28:58 +0100, Marc Dietrich marvi...@gmx.de wrote: start_sect is not aligned to a 4 byte boundary thus causing exceptions on ARM platforms. Access this field via the