From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Mon, 30 Nov 2015 10:29:32 +0100 Subject: [U-Boot] [PATCH v2 12/26] dm: pci: video: Convert video and pci_rom to use DM PCI API In-Reply-To: <1448828291-12660-13-git-send-email-sjg@chromium.org> References: <1448828291-12660-1-git-send-email-sjg@chromium.org> <1448828291-12660-13-git-send-email-sjg@chromium.org> Message-ID: <20151130102932.72a3d4d0@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Sun, 29 Nov 2015 13:17:57 -0700 Simon Glass wrote: > Adjust these files to use the driver-model PCI API instead of the legacy > functions. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Rename pci_run_vga_bios() to dm_pci_run_vga_bios() > - Require driver model with pci_rom.c > - Use dev_get_parent_platdata() instead of re-reading values from the device > > arch/x86/cpu/ivybridge/gma.c | 4 ++-- > drivers/pci/Makefile | 3 ++- > drivers/pci/pci_rom.c | 51 +++++++++++++++++++++----------------------- > drivers/video/vesa_fb.c | 10 ++++----- > include/pci_rom.h | 6 +++--- > 5 files changed, 36 insertions(+), 38 deletions(-) Acked-by: Anatolij Gustschin