mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
riscv: Add S-mode defconfigs for QEMU virt machine
This patch adds S-mode defconfigs for QEMU virt machine so that we can run u-boot in S-mode on QEMU using M-mode runtime firmware (BBL or equivalent). 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>
This commit is contained in:
parent
ef8c3d3fce
commit
4c60113647
3 changed files with 23 additions and 0 deletions
|
@ -4,4 +4,6 @@ S: Maintained
|
|||
F: board/emulation/qemu-riscv/
|
||||
F: include/configs/qemu-riscv.h
|
||||
F: configs/qemu-riscv32_defconfig
|
||||
F: configs/qemu-riscv32_smode_defconfig
|
||||
F: configs/qemu-riscv64_defconfig
|
||||
F: configs/qemu-riscv64_smode_defconfig
|
||||
|
|
10
configs/qemu-riscv32_smode_defconfig
Normal file
10
configs/qemu-riscv32_smode_defconfig
Normal file
|
@ -0,0 +1,10 @@
|
|||
CONFIG_RISCV=y
|
||||
CONFIG_TARGET_QEMU_VIRT=y
|
||||
CONFIG_RISCV_SMODE=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_NR_DRAM_BANKS=1
|
||||
CONFIG_FIT=y
|
||||
CONFIG_DISPLAY_CPUINFO=y
|
||||
CONFIG_DISPLAY_BOARDINFO=y
|
||||
# CONFIG_CMD_MII is not set
|
||||
CONFIG_OF_PRIOR_STAGE=y
|
11
configs/qemu-riscv64_smode_defconfig
Normal file
11
configs/qemu-riscv64_smode_defconfig
Normal file
|
@ -0,0 +1,11 @@
|
|||
CONFIG_RISCV=y
|
||||
CONFIG_TARGET_QEMU_VIRT=y
|
||||
CONFIG_ARCH_RV64I=y
|
||||
CONFIG_RISCV_SMODE=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_NR_DRAM_BANKS=1
|
||||
CONFIG_FIT=y
|
||||
CONFIG_DISPLAY_CPUINFO=y
|
||||
CONFIG_DISPLAY_BOARDINFO=y
|
||||
# CONFIG_CMD_MII is not set
|
||||
CONFIG_OF_PRIOR_STAGE=y
|
Loading…
Reference in a new issue