diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-29 13:17:57 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-12 10:19:09 -0700 |
commit | 3f4e1e8efc5b700473f1920e92b521cb0945a6e3 (patch) | |
tree | f6a14337c06d9dc7b48367073ff17eeb467ddd8a /arch | |
parent | 7d8e4042f19eafcb24eeabbf10830aa21c3b700c (diff) | |
download | u-boot-imx-3f4e1e8efc5b700473f1920e92b521cb0945a6e3.zip u-boot-imx-3f4e1e8efc5b700473f1920e92b521cb0945a6e3.tar.gz u-boot-imx-3f4e1e8efc5b700473f1920e92b521cb0945a6e3.tar.bz2 |
dm: pci: video: Convert video and pci_rom to use DM PCI API
Adjust these files to use the driver-model PCI API instead of the legacy
functions.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/cpu/ivybridge/gma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/ivybridge/gma.c b/arch/x86/cpu/ivybridge/gma.c index 695578b..85a09c6 100644 --- a/arch/x86/cpu/ivybridge/gma.c +++ b/arch/x86/cpu/ivybridge/gma.c @@ -756,8 +756,8 @@ int gma_func0_init(struct udevice *dev, const void *blob, int node) #ifdef CONFIG_VIDEO start = get_timer(0); - ret = pci_run_vga_bios(dm_pci_get_bdf(dev), int15_handler, - PCI_ROM_USE_NATIVE | PCI_ROM_ALLOW_FALLBACK); + ret = dm_pci_run_vga_bios(dev, int15_handler, + PCI_ROM_USE_NATIVE | PCI_ROM_ALLOW_FALLBACK); debug("BIOS ran in %lums\n", get_timer(start)); #endif /* Post VBIOS init */ |