summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_variable.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-03-02 04:08:22 +0100
committerSimon Glass <sjg@chromium.org>2023-03-09 08:50:47 -0800
commitb363da1c26c96a831d3ffcbd1d4997ec3d340009 (patch)
tree269878db7faf0f87c8c091dc87ed01c843f1604b /lib/efi_loader/efi_variable.c
parent98d114e75c888ed7a8313a14e778f45d388199c4 (diff)
cmd: fdt: Map address returned from fdt get addr to sysmem
The address returned from 'fdt get addr' command must be mapped into sysmem, as this is a working FDT. Access to this address without mapping it would lead to crash e.g. in sandbox. The following command triggers the crash: " ./u-boot -Dc 'fdt addr $fdtcontroladdr ; fdt get addr var / compatible ; md $var' " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader/efi_variable.c')
0 files changed, 0 insertions, 0 deletions