u-boot/board/emulation/qemu-riscv
Anup Patel ef8c3d3fce riscv: qemu: Use different SYS_TEXT_BASE for S-mode
When u-boot runs in S-mode, the M-mode runtime firmware
(BBL or equivalent) uses memory range in 0x80000000 to
0x80200000. Due to this, we cannot use 0x80000000 as
SYS_TEXT_BASE when running in S-mode. Instead for S-mode,
we use 0x80200000 as SYS_TEXT_BASE.

Even Linux RISC-V kernel ignores/reserves memory range
0x80000000 to 0x80200000 because it runs in S-mode.

Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
2018-12-05 14:13:59 +08:00
..
Kconfig riscv: qemu: Use different SYS_TEXT_BASE for S-mode 2018-12-05 14:13:59 +08:00
MAINTAINERS riscv: Add QEMU virt board support 2018-10-03 17:48:37 +08:00
Makefile riscv: Add QEMU virt board support 2018-10-03 17:48:37 +08:00
qemu-riscv.c riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL 2018-11-26 13:57:33 +08:00