On Wed, Apr 10, 2019 at 8:46 PM Lukas Auer
<lukas.a...@aisec.fraunhofer.de> wrote:
>
> Boards such as qemu-riscv, which receive their device tree at runtime,
> for example from QEMU or firmware, are unable to add the appropriate
> device tree properties to make devices available pre relocation.
> Instead, they must rely on the DM_FLAG_PRE_RELOC flag to be set for the
> required drivers.
>
> Add the DM_FLAG_PRE_RELOC flag to the simple-bus driver to make devices
> under it with drivers that have set the flag as well available pre
> relocation for these boards.
>
> Signed-off-by: Lukas Auer <lukas.a...@aisec.fraunhofer.de>
> ---
>
>  drivers/core/simple-bus.c | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Tested on QEMU RISC-V 'virt' target with 2 cores, M-mode
Tested-by: Bin Meng <bmeng...@gmail.com>

Applied to u-boot-dm, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to