[U-Boot] [PATCH 03/57] dm: usb: Add a compatible string for PCI EHCI controller

Bin Meng bmeng.cn at gmail.com
Sun Dec 13 13:52:14 CET 2015


Hi Simon,

On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass <sjg at chromium.org> wrote:
> Add a compatible string to allow this to be specified in the device tree
> if needed.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/usb/host/ehci-pci.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
> index cda1c6d..4d77c61 100644
> --- a/drivers/usb/host/ehci-pci.c
> +++ b/drivers/usb/host/ehci-pci.c
> @@ -137,6 +137,11 @@ static int ehci_pci_remove(struct udevice *dev)
>         return 0;
>  }
>
> +static const struct udevice_id ehci_pci_ids[] = {

Where is this ehci_pci_ids[] referenced?

> +       { .compatible = "ehci-pci" },
> +       { }
> +};
> +
>  U_BOOT_DRIVER(ehci_pci) = {
>         .name   = "ehci_pci",
>         .id     = UCLASS_USB,
> --

Regards,
Bin


More information about the U-Boot mailing list