diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-29 13:17:55 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-12 10:19:09 -0700 |
commit | 9bf727fcc4743d06ba665f104e951b47f5029d56 (patch) | |
tree | 3466fb129653b56e509694163c6cf7cdfbc76a84 /arch/x86/include/asm/arch-ivybridge/bd82x6x.h | |
parent | fcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4 (diff) | |
download | u-boot-imx-9bf727fcc4743d06ba665f104e951b47f5029d56.zip u-boot-imx-9bf727fcc4743d06ba665f104e951b47f5029d56.tar.gz u-boot-imx-9bf727fcc4743d06ba665f104e951b47f5029d56.tar.bz2 |
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/asm/arch-ivybridge/bd82x6x.h')
-rw-r--r-- | arch/x86/include/asm/arch-ivybridge/bd82x6x.h | 3 |
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 7786493..fcdf6e2 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); /** |