diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-29 13:17:58 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-12 10:19:09 -0700 |
commit | 8beb0bda9c59146df70b960ce69ecfbd6f744028 (patch) | |
tree | b556a48f262417fba664be1582a618575c20113a /drivers/pci/pci_rom.c | |
parent | 3f4e1e8efc5b700473f1920e92b521cb0945a6e3 (diff) | |
download | u-boot-8beb0bda9c59146df70b960ce69ecfbd6f744028.tar.gz |
dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API
This function should take a struct udevice rather than pci_dev_t. Update it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/pci_rom.c')
-rw-r--r-- | drivers/pci/pci_rom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 8949ea8897..2cb81b66b7 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -324,8 +324,8 @@ int dm_pci_run_vga_bios(struct udevice *dev, int (*int15_handler)(void), #ifdef CONFIG_X86 bios_set_interrupt_handler(0x15, int15_handler); - bios_run_on_x86(dm_pci_get_bdf(dev), (unsigned long)ram, - vesa_mode, &mode_info); + bios_run_on_x86(dev, (unsigned long)ram, vesa_mode, + &mode_info); #endif } debug("Final vesa mode %#x\n", mode_info.video_mode); |