aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootefi.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-01-05 23:41:36 +0100
committerAlexander Graf <agraf@suse.de>2019-02-13 09:40:05 +0100
commit23f5f4abf7d04690e43ab5c58f0b6d5b955ffd97 (patch)
treecae918441e0669302eb98b61b0e9cbbead9ba253 /cmd/bootefi.c
parent0ea8741ff65e2b1cf86763b1f6392499df286ce1 (diff)
downloadu-boot-23f5f4abf7d04690e43ab5c58f0b6d5b955ffd97.zip
u-boot-23f5f4abf7d04690e43ab5c58f0b6d5b955ffd97.tar.gz
u-boot-23f5f4abf7d04690e43ab5c58f0b6d5b955ffd97.tar.bz2
efi_loader: fix memory allocation on sandbox
Commit 7b78d6438a2b ("efi_loader: Reserve unaccessible memory") introduced a comparison between RAM top and RAM start that was not known at the time when the patch of commit 49759743bf09 ("efi_loader: eliminate sandbox addresses") was written. The sandbox uses an address space that is only relevant in the sandbox context. We have to map ram_top from the sandbox address space to the physical address space before using it in the EFI subsystem. Fixes: 49759743bf09 ("efi_loader: eliminate sandbox addresses") Fixes: 7b78d6438a2b ("efi_loader: Reserve unaccessible memory") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
0 files changed, 0 insertions, 0 deletions