]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: allow unaligned memory access
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 3 Apr 2018 19:59:32 +0000 (21:59 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:21 +0000 (15:27 +0200)
commitc3b11dea7c9f9bb009cb7358170c47abd1c4a298
tree1209493facd75a94acd1e34ead5a23005d420c0e
parentfa241e2f19c58d08f2d978f32d133eab24b02a92
efi_loader: allow unaligned memory access

The UEFI spec mandates that unaligned memory access should be enabled if
supported by the CPU architecture.

This patch adds an empty weak function unaligned_access() that can be
overridden by an architecture specific routine.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/asm-generic/unaligned.h