From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Thu, 11 Oct 2018 21:21:50 +0800 Subject: [U-Boot] [PATCH 16/27] arm: qemu: Enumerate virtio bus during early boot In-Reply-To: References: <1537710145-1888-1-git-send-email-bmeng.cn@gmail.com> <1537710145-1888-17-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Thu, Sep 27, 2018 at 9:43 PM Simon Glass wrote: > > On 23 September 2018 at 06:42, Bin Meng 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 > > --- > > > > board/emulation/qemu-arm/Kconfig | 3 +++ > > board/emulation/qemu-arm/qemu-arm.c | 7 +++++++ > > 2 files changed, 10 insertions(+) > > > > Reviewed-by: Simon Glass > > 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