u-boot/cmd
AKASHI Takahiro 75a9d75041 virtio: call device_probe() in scanning
virtio_init() enumerates all the peripherals that are to be materialised
with udevices(UCLASS_VIRIO) and creates particular device instances
(UCLASS_BlK or whatever else) as children.
On the other hand, device_probe() won't be invoked against those resultant
udevices unlike other ordinary device drivers do in the driver model.

This is particularly inconvenient when we want to add "event notification"
callback so that we will be able to automatically create all efi_disk
objects in a later patch.

With this patch applied, "virtio scan" will work in a similar way
to "scsi rescan", "usb start" or others in term of 'probe' semantics.

I didn't add this change to virtio_init() itself because this function
may be called in board_init_r() (indirectly in board_late_init())
before UEFI subsustem is initialized.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-04-09 21:06:31 +02:00
..
arm cmd: exception: arm64: fix undefined, add faults 2022-03-02 13:59:29 -05:00
broadcom
mvebu
riscv cmd/sbi: add missing SBI information 2022-04-06 09:40:05 +08:00
sandbox
ti
x86
.gitignore
ab_select.c
abootimg.c
acpi.c acpi: Tidy up the table list 2022-01-25 11:44:36 -07:00
adc.c
addrmap.c
adtimg.c
aes.c
armflash.c
avb.c
axi.c
bcb.c cmd: bcb: fix bcb struct alignment issue 2022-02-05 15:49:00 +01:00
bdinfo.c video: Drop references to CONFIG_VIDEO et al 2022-03-28 20:17:07 +02:00
bind.c
binop.c
blk_common.c
blkcache.c
blob.c
bloblist.c
bmp.c video: Drop references to CONFIG_VIDEO et al 2022-03-28 20:17:07 +02:00
boot.c
bootcount.c
bootefi.c efi_loader: Ignore DT when ACPI is on 2022-03-20 11:03:06 +01:00
booti.c
bootm.c cmd: bootm: add subcommand preload 2022-03-31 14:12:23 -04:00
bootmenu.c
bootstage.c
bootz.c
btrfs.c
button.c
cache.c
cbfs.c
clk.c cmd: clk: fix long help message 2022-02-25 01:41:04 -05:00
clone.c
cls.c video: Drop cfg_console 2022-03-28 20:14:24 +02:00
config.c
conitrace.c
console.c
cpu.c
cramfs.c
cros_ec.c
dataflash_mmc_mux.c
date.c
demo.c
dfu.c cmd/dfu: Enable 'dfu list' command without DFU_OVER_USB 2022-02-11 11:29:23 -05:00
diag.c
disk.c
dm.c
echo.c
eeprom.c cmd: eeprom: Do not rewrite EEPROM I2C bus with DM I2C enabled 2022-03-23 07:27:37 +01:00
efi.c
efidebug.c cmd: efidebug: Disable 'capsule disk-update' when CONFIG_EFI_CAPSULE_ON_DISK=n 2022-04-09 21:06:31 +02:00
elf.c
erofs.c fs/erofs: add filesystem commands 2022-03-15 16:19:29 -04:00
ethsw.c
event.c event: Add a command 2022-03-10 08:28:36 -05:00
exit.c
ext2.c
ext4.c
extension_board.c
fastboot.c
fat.c
fdt.c cmd: fdt: Use start/size for chosen instead of start/end 2022-04-01 15:03:13 -04:00
flash.c mtd: cfi: introduce CFI_FLASH_BANKS 2022-01-21 14:01:35 -05:00
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c cmd: fuse: Add a command to read fuses to memory 2022-02-18 18:12:23 +01:00
gettime.c
gpio.c
gpt.c
hash.c
help.c
host.c
i2c.c
ide.c
ini.c
io.c
iotrace.c
irq.c
itest.c
jffs2.c
kaslrseed.c
Kconfig Convert CONFIG_CMDLINE_PS_SUPPORT to Kconfig 2022-04-08 09:05:19 -04:00
led.c
legacy-mtd-utils.c
legacy-mtd-utils.h
legacy_led.c
license.c
load.c
log.c
lsblk.c
lzmadec.c
mac.c
Makefile fs/erofs: add filesystem commands 2022-03-15 16:19:29 -04:00
mbr.c
md5sum.c
mdio.c
mem.c
mfsl.c
mii.c
misc.c
mmc.c cmd/mmc: fix output of mmc info for e-MMC 2022-03-16 16:40:57 +09:00
mp.c
mtd.c
mtdparts.c
mux.c
nand.c
net.c
nvedit.c cmd: env: Add indirect to indirectly set values 2022-04-07 16:50:42 -04:00
nvedit_efi.c
nvme.c
onenand.c
optee_rpmb.c
osd.c
panic.c
part.c
pcap.c
pci.c pci: Extend 'pci' command with bus option '*' 2022-01-28 17:58:41 -05:00
pinmux.c
pmc.c
pmic.c
printf.c
printf.h
pstore.c pstore: Support already existing reserved-memory node 2022-02-14 13:03:49 -05:00
pvblock.c
pwm.c cmd: pwm: fix typo 'eisable' -> 'disable' 2022-03-04 15:20:06 -05:00
pxe.c
qfw.c
read.c
reginfo.c
regulator.c
reiser.c
remoteproc.c
rng.c
rockusb.c
rtc.c
sata.c
sb.c
scp03.c
scsi.c
setexpr.c
sf.c
sha1sum.c
sleep.c
smccc.c
sound.c
source.c
spi.c
spl.c
sqfs.c
stackprot_test.c cmd: wrong printf() code in do_test_stackprot_fail() 2022-02-11 10:52:37 -05:00
strings.c
sysboot.c
terminal.c
test.c
thordown.c
time.c
timer.c
tlv_eeprom.c
tpm-common.c
tpm-user-utils.h
tpm-v1.c
tpm-v2.c
tpm_test.c
trace.c
tsi148.c
ubi.c
ubifs.c
ufs.c
universe.c
unlz4.c
unzip.c
usb.c
usb_gadget_sdp.c
usb_mass_storage.c
version.c
virtio.c virtio: call device_probe() in scanning 2022-04-09 21:06:31 +02:00
w1.c
wdt.c
wol.c
ximg.c
yaffs2.c
zfs.c
zip.c