diff options
| author | Anup Patel <anup@brainfault.org> | 2018-12-03 10:57:41 +0530 |
|---|---|---|
| committer | Andes <uboot@andestech.com> | 2018-12-05 14:13:59 +0800 |
| commit | ef8c3d3fcec71bdd1d9d64097436041bbd48ba5c (patch) | |
| tree | 94981fa9a4818ca876fce2ba26edd4b21c182c5e /include | |
| parent | d2db2a8fa4f190d6d78ee7e9e642a180664cbccf (diff) | |
| download | u-boot-ef8c3d3fcec71bdd1d9d64097436041bbd48ba5c.tar.gz u-boot-ef8c3d3fcec71bdd1d9d64097436041bbd48ba5c.tar.xz u-boot-ef8c3d3fcec71bdd1d9d64097436041bbd48ba5c.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
