[U-Boot] [PATCH 16/27] arm: qemu: Enumerate virtio bus during early boot
Bin Meng
bmeng.cn at gmail.com
Thu Oct 11 13:21:50 UTC 2018
Hi Simon,
On Thu, Sep 27, 2018 at 9:43 PM Simon Glass <sjg at chromium.org> wrote:
>
> On 23 September 2018 at 06:42, Bin Meng <bmeng.cn at gmail.com> wrote:
> > Currently devices on the virtio bus is not automatically enumerated,
> > which means peripherals on the virtio bus are not discovered by their
> > drivers. This uses board_init() to do the virtio enumeration.
> >
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> > board/emulation/qemu-arm/Kconfig | 3 +++
> > board/emulation/qemu-arm/qemu-arm.c | 7 +++++++
> > 2 files changed, 10 insertions(+)
> >
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> But I wonder if we should have a flag in the uclass or perhaps device
> tree, to indicate that all devices in it should be probed at start-up?
> Could be useful for PCI too.
>
I think that's a good idea. I will leave this for now and when we have
that capability we can revisit.
[snip]
Regards,
Bin
More information about the U-Boot
mailing list