summaryrefslogtreecommitdiffstats
path: root/configs/qemu-riscv32_defconfig
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2018-11-22 11:26:30 +0100
committerAndes <uboot@andestech.com>2018-11-26 13:57:32 +0800
commit6e10e94ff7f5b88cba036564b7d8ce7b99265157 (patch)
tree6ecba6a0c087c058d81fac9b702f0aa6d94f7070 /configs/qemu-riscv32_defconfig
parent5d8b2e77119ff85420e3074e5c1ac1f5939a1b75 (diff)
downloadu-boot-6e10e94ff7f5b88cba036564b7d8ce7b99265157.tar.gz
u-boot-6e10e94ff7f5b88cba036564b7d8ce7b99265157.tar.xz
u-boot-6e10e94ff7f5b88cba036564b7d8ce7b99265157.zip
riscv: qemu: use device tree passed by prior boot stage
QEMU provides a device tree, which is passed to U-Boot using register a1. We are now able to directly select the device tree with the configuration CONFIG_OF_PRIOR_STAGE. Replace the hard-coded address in qemu-riscv with it. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'configs/qemu-riscv32_defconfig')
-rw-r--r--configs/qemu-riscv32_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/qemu-riscv32_defconfig b/configs/qemu-riscv32_defconfig
index ff1fb1f30e..72c54a3dd5 100644
--- a/configs/qemu-riscv32_defconfig
+++ b/configs/qemu-riscv32_defconfig
@@ -3,4 +3,4 @@ CONFIG_TARGET_QEMU_VIRT=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
-CONFIG_OF_BOARD=y
+CONFIG_OF_PRIOR_STAGE=y