]> git.sur5r.net Git - u-boot/commit
dm: pci: Convert bios_emu to use the driver model PCI API
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:09 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:07:19 +0000 (12:07 +0800)
commit7282672d298905088fb3c7c0a049d7d7d31cb8b4
tree99a3fe5ca9ce440110e6086066aaf25c966c93b0
parentac94b7bcbed9a5ee71f6fb9a507c72abf601cb8a
dm: pci: Convert bios_emu to use the driver model PCI API

At present this BIOS emulator uses a bus/device/function number. Change
it to use a device if CONFIG_DM_PCI is enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/bios_emulator/atibios.c
drivers/bios_emulator/bios.c
drivers/pci/pci_rom.c
include/bios_emul.h