]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Allow to execute from RAM
authorAlexander Graf <agraf@suse.de>
Fri, 22 Jun 2018 12:44:13 +0000 (14:44 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:30 +0000 (21:55 +0200)
commit6e6e4b2f73294ea363852273cb4196c9d792f6b6
tree3fa63067c0411a62e06c42256e5389805c1835f7
parent3fcb7147584f8cf5128e1c5eb6b7e49dd86a5473
sandbox: Allow to execute from RAM

With efi_loader, we may want to execute payloads from RAM. By default,
permissions on the RAM region don't allow us to execute from there though.

So let's change the default allocation scheme for RAM to also allow
execution from it. That way payloads that live in U-Boot RAM can be
directly executed.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/sandbox/cpu/os.c