summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_exception.c
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2018-11-22 11:26:37 +0100
committerAndes <uboot@andestech.com>2018-11-26 13:57:33 +0800
commit897206c5cc5c6ac0dc2ab851044e42baada3785b (patch)
tree168fc417db96847e1d139fc8a107a3e58a958d4c /lib/efi_selftest/efi_selftest_exception.c
parent66ffe5783b6340977ead5782cce9b63edfc0e348 (diff)
riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL
QEMU specifies the location of Linux (supplied with the -kernel argument) in the device tree using the riscv,kernel-start and riscv,kernel-end properties. We currently rely on the SBI implementation of BBL to run Linux and therefore embed Linux as payload in BBL. This causes an issue, because BBL detects the kernel properties in the device tree and ignores the Linux payload as a result. Work around this issue by clearing the kernel properties in the device tree before booting Linux. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/efi_selftest/efi_selftest_exception.c')
0 files changed, 0 insertions, 0 deletions