]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: x86: ivybridge: Convert graphics init to use DM PCI API
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:17:55 +0000 (13:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit9bf727fcc4743d06ba665f104e951b47f5029d56
tree3466fb129653b56e509694163c6cf7cdfbc76a84
parentfcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4
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>
arch/x86/cpu/ivybridge/bd82x6x.c
arch/x86/cpu/ivybridge/gma.c
arch/x86/include/asm/arch-ivybridge/bd82x6x.h