Hi Bin,

On 10 August 2015 at 00:18, Bin Meng <bmeng...@gmail.com> wrote:
> Hi Simon,
>
> On Sat, Aug 8, 2015 at 10:26 PM, Simon Glass <s...@chromium.org> wrote:
>> At present there are no PCI functions which allow access to PCI
>> configuration using a struct udevice. This is a sad situation for driver
>> model as it makes use of PCI harder. Add these functions.
>>
>> Signed-off-by: Simon Glass <s...@chromium.org>
>> ---
>>
>> Changes in v2:
>> - Correct 'Driver mode' typo
>> - Add blank line after dm_pci_read_config() declaration
>>
>
> What about the old config read/write routines? Last time you said you
> wanted to remove those.

Yes I think that most PCI access should happen through struct udevice,
the exception being things have have to happen before the device is
available.

However I don't propose to make that change in this patch. This is a
bigger job and requires deprecation and eventual removal of a lot of
API functions.

[snip]

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to