summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-29 13:17:55 -0700
committerSimon Glass <sjg@chromium.org>2016-01-12 10:19:09 -0700
commit9bf727fcc4743d06ba665f104e951b47f5029d56 (patch)
tree3466fb129653b56e509694163c6cf7cdfbc76a84 /arch/x86/include
parentfcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4 (diff)
downloadtalos-obmc-uboot-9bf727fcc4743d06ba665f104e951b47f5029d56.tar.gz
talos-obmc-uboot-9bf727fcc4743d06ba665f104e951b47f5029d56.zip
dm: x86: ivybridge: Convert graphics init to use DM PCI API
Use the driver-model PCI functions here where possible. For now we have to search for the device with pci_bus_find_bdf() but at some point we can put this in a proper driver and avoid this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/arch-ivybridge/bd82x6x.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/arch-ivybridge/bd82x6x.h b/arch/x86/include/asm/arch-ivybridge/bd82x6x.h
index 7786493be7..fcdf6e26cb 100644
--- a/arch/x86/include/asm/arch-ivybridge/bd82x6x.h
+++ b/arch/x86/include/asm/arch-ivybridge/bd82x6x.h
@@ -12,8 +12,7 @@ void bd82x6x_sata_enable(pci_dev_t dev, const void *blob, int node);
void bd82x6x_pci_init(pci_dev_t dev);
void bd82x6x_usb_ehci_init(pci_dev_t dev);
void bd82x6x_usb_xhci_init(pci_dev_t dev);
-int gma_func0_init(pci_dev_t dev, struct pci_controller *hose,
- const void *blob, int node);
+int gma_func0_init(struct udevice *dev, const void *blob, int node);
int bd82x6x_init(void);
/**
OpenPOWER on IntegriCloud