mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 09:59:44 +00:00
75a9d75041
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> |
||
---|---|---|
.. | ||
arm | ||
broadcom | ||
mvebu | ||
riscv | ||
sandbox | ||
ti | ||
x86 | ||
.gitignore | ||
ab_select.c | ||
abootimg.c | ||
acpi.c | ||
adc.c | ||
addrmap.c | ||
adtimg.c | ||
aes.c | ||
armflash.c | ||
avb.c | ||
axi.c | ||
bcb.c | ||
bdinfo.c | ||
bind.c | ||
binop.c | ||
blk_common.c | ||
blkcache.c | ||
blob.c | ||
bloblist.c | ||
bmp.c | ||
boot.c | ||
bootcount.c | ||
bootefi.c | ||
booti.c | ||
bootm.c | ||
bootmenu.c | ||
bootstage.c | ||
bootz.c | ||
btrfs.c | ||
button.c | ||
cache.c | ||
cbfs.c | ||
clk.c | ||
clone.c | ||
cls.c | ||
config.c | ||
conitrace.c | ||
console.c | ||
cpu.c | ||
cramfs.c | ||
cros_ec.c | ||
dataflash_mmc_mux.c | ||
date.c | ||
demo.c | ||
dfu.c | ||
diag.c | ||
disk.c | ||
dm.c | ||
echo.c | ||
eeprom.c | ||
efi.c | ||
efidebug.c | ||
elf.c | ||
erofs.c | ||
ethsw.c | ||
event.c | ||
exit.c | ||
ext2.c | ||
ext4.c | ||
extension_board.c | ||
fastboot.c | ||
fat.c | ||
fdt.c | ||
flash.c | ||
fpga.c | ||
fpgad.c | ||
fs.c | ||
fs_uuid.c | ||
fuse.c | ||
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 | ||
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 | ||
mbr.c | ||
md5sum.c | ||
mdio.c | ||
mem.c | ||
mfsl.c | ||
mii.c | ||
misc.c | ||
mmc.c | ||
mp.c | ||
mtd.c | ||
mtdparts.c | ||
mux.c | ||
nand.c | ||
net.c | ||
nvedit.c | ||
nvedit_efi.c | ||
nvme.c | ||
onenand.c | ||
optee_rpmb.c | ||
osd.c | ||
panic.c | ||
part.c | ||
pcap.c | ||
pci.c | ||
pinmux.c | ||
pmc.c | ||
pmic.c | ||
printf.c | ||
printf.h | ||
pstore.c | ||
pvblock.c | ||
pwm.c | ||
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 | ||
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 | ||
w1.c | ||
wdt.c | ||
wol.c | ||
ximg.c | ||
yaffs2.c | ||
zfs.c | ||
zip.c |