summaryrefslogtreecommitdiffstats
path: root/configs/qemu-riscv32_defconfig
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2018-11-22 11:26:31 +0100
committerAndes <uboot@andestech.com>2018-11-26 13:57:32 +0800
commit52b984369fde8296c735575848075462e9112b69 (patch)
tree850b9755fddb538404de573d2746e48fb260ffcb /configs/qemu-riscv32_defconfig
parent6e10e94ff7f5b88cba036564b7d8ce7b99265157 (diff)
downloadu-boot-52b984369fde8296c735575848075462e9112b69.tar.gz
u-boot-52b984369fde8296c735575848075462e9112b69.tar.xz
u-boot-52b984369fde8296c735575848075462e9112b69.zip
riscv: qemu: support booting Linux
Support booting Linux (as payload of BBL) from FIT images. For this, the default CONFIG_SYS_BOOTM_LEN is increased to 16 MB, and the environment variables fdt_high and initrd_high are set to mark the device tree and initrd as in-place. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/qemu-riscv32_defconfig')
-rw-r--r--configs/qemu-riscv32_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/qemu-riscv32_defconfig b/configs/qemu-riscv32_defconfig
index 72c54a3dd5..b55644378a 100644
--- a/configs/qemu-riscv32_defconfig
+++ b/configs/qemu-riscv32_defconfig
@@ -1,6 +1,7 @@
CONFIG_RISCV=y
CONFIG_TARGET_QEMU_VIRT=y
CONFIG_NR_DRAM_BANKS=1
+CONFIG_FIT=y
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
CONFIG_OF_PRIOR_STAGE=y