
21 Jan
2016
21 Jan
'16
7:02 a.m.
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass sjg@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@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@gmail.com