[U-Boot] [PATCH v2 04/55] dm: pci: Convert bios_emu to use the driver model PCI API

Bin Meng bmeng.cn at gmail.com
Thu Jan 21 07:02:44 CET 2016


On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2:
> - Drop unnecessary/incorrect non-DM code in dm_pci_run_vga_bios()
>
>  drivers/bios_emulator/atibios.c | 109 ++++++++++++++++++++++++++++++++++++++--
>  drivers/bios_emulator/bios.c    |  39 ++++++++++++++
>  drivers/pci/pci_rom.c           |   6 +--
>  include/bios_emul.h             |  19 ++++++-
>  4 files changed, 165 insertions(+), 8 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list