u-boot/board/emulation/qemu-riscv
Anup Patel 8aa278df0a riscv: qemu: Use correct SYS_TEXT_BASE for S-mode on 32bit system
For 32bit system, the OpenSBI (or BBL) will jump to 0x80400000 address
in S-mode whereas for 64bit system it will jump to 0x80200000 address
in S-mode.

Currently, the S-mode U-Boot sets SYS_TEXT_BASE to 0x80200000 for both
32bit and 64bit system. This breaks S-mode U-Boot for 32bit system.

This patch sets different SYS_TEXT_BASE for 32bit and 64bit system so
that S-mode U-Boot works fine for both.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Tested-by: Karsten Merker <merker@debian.org>
2019-05-09 16:46:24 +08:00
..
Kconfig riscv: qemu: Use correct SYS_TEXT_BASE for S-mode on 32bit system 2019-05-09 16:46:24 +08:00
MAINTAINERS riscv: Add S-mode defconfigs for QEMU virt machine 2018-12-05 14:14:04 +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