commit | d7db7066ed6504fb15c8502dd0b2a591d77fe15f | [log] [tgz] |
---|---|---|
author | Lukas Auer <lukas.auer@aisec.fraunhofer.de> | Thu Nov 22 11:26:30 2018 +0100 |
committer | Andes <uboot@andestech.com> | Mon Nov 26 13:57:32 2018 +0800 |
tree | 6ecba6a0c087c058d81fac9b702f0aa6d94f7070 | |
parent | 39a652b7e5b2b0d68b35cdb6c91038fbfb816795 [diff] |
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>