Re: [U-Boot] [PATCH v2 04/55] dm: pci: Convert bios_emu to use the driver model PCI API

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > At present this BIOS emulator uses a bus/device/function number. Change > it to use a device if CONFIG_DM_PCI is enabled. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop

Re: [U-Boot] [PATCH v2 04/55] dm: pci: Convert bios_emu to use the driver model PCI API

2016-01-20 Thread Bin Meng
On Thu, Jan 21, 2016 at 2:02 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: >> At present this BIOS emulator uses a bus/device/function number. Change >> it to use a device if CONFIG_DM_PCI is enabled. >> >> Signed-off-by: Simon

[U-Boot] [PATCH v2 04/55] dm: pci: Convert bios_emu to use the driver model PCI API

2016-01-17 Thread Simon Glass
At present this BIOS emulator uses a bus/device/function number. Change it to use a device if CONFIG_DM_PCI is enabled. Signed-off-by: Simon Glass --- Changes in v2: - Drop unnecessary/incorrect non-DM code in dm_pci_run_vga_bios() drivers/bios_emulator/atibios.c | 109