[U-Boot] [PATCH 05/18] dm: pci: Add support for PCI driver matching

Joe Hershberger joe.hershberger at gmail.com
Wed Jul 8 06:42:40 CEST 2015


Hi Simon,

On Mon, Jul 6, 2015 at 5:47 PM, Simon Glass <sjg at chromium.org> wrote:
> At present all PCI devices must be present in the device tree in order to
> be used. Many or most PCI devices don't require any configuration other than
> that which is done automatically by U-Boot. It is inefficent to add a node
> with nothing but a compatible string in order to get a device working.
>
> Add a mechanism whereby PCI drivers can be declared along with the device
> parameters they support (vendor/device/class). When no suitable driver is
> found in the device tree the list of such devices is consulted to determine
> the correct driver. If this also fails, then a generic driver is used as
> before.
>
> The mechanism used is very similar to that provided by Linux and the header
> file defintions are copied from Linux 4.1.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---

Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list