dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:17:58 +0000 (13:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit8beb0bda9c59146df70b960ce69ecfbd6f744028
treeb556a48f262417fba664be1582a618575c20113a
parent3f4e1e8efc5b700473f1920e92b521cb0945a6e3
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>
arch/x86/lib/bios.c
drivers/pci/pci_rom.c
include/bios_emul.h