6e10e94ff7
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>
7 lines
140 B
Plaintext
7 lines
140 B
Plaintext
CONFIG_RISCV=y
|
|
CONFIG_TARGET_QEMU_VIRT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
CONFIG_OF_PRIOR_STAGE=y
|