summaryrefslogtreecommitdiff
path: root/configs/qemu-riscv32_smode_defconfig
diff options
context:
space:
mode:
authorAnup Patel <anup@brainfault.org>2018-12-03 10:57:42 +0530
committerAndes <uboot@andestech.com>2018-12-05 14:14:04 +0800
commit4c6011364735cc1e554a65fd259edc524dbdac9c (patch)
tree32341e8a03679ff7919868b9e11ea8d2689cfea5 /configs/qemu-riscv32_smode_defconfig
parentef8c3d3fcec71bdd1d9d64097436041bbd48ba5c (diff)
downloadu-boot-4c6011364735cc1e554a65fd259edc524dbdac9c.tar.gz
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>
Diffstat (limited to 'configs/qemu-riscv32_smode_defconfig')
-rw-r--r--configs/qemu-riscv32_smode_defconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/qemu-riscv32_smode_defconfig b/configs/qemu-riscv32_smode_defconfig
new file mode 100644
index 0000000000..0a84ec1874
--- /dev/null
+++ b/configs/qemu-riscv32_smode_defconfig
@@ -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