[U-Boot] [PATCH v3 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass

Simon Glass sjg at chromium.org
Thu May 9 03:53:55 UTC 2019


On Sat, 27 Apr 2019 at 02:15, Ramon Fried <ramon.fried at gmail.com> wrote:
>
> Introduce new UCLASS_PCI_EP class for handling PCI endpoint
> devices, allowing to set various attributes of the PCI endpoint
> device, such as:
> * configuration space header
> * BAR definitions
> * outband memory mapping
> * start/stop PCI link
>
> Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
>
> ---
>
> Changes in v3: None
>
>  MAINTAINERS                          |   6 +
>  drivers/Kconfig                      |   2 +
>  drivers/Makefile                     |   1 +
>  drivers/pci_endpoint/Kconfig         |  17 ++
>  drivers/pci_endpoint/Makefile        |   6 +
>  drivers/pci_endpoint/pci_ep-uclass.c | 211 ++++++++++++++
>  include/dm/uclass-id.h               |   1 +
>  include/pci_ep.h                     | 414 +++++++++++++++++++++++++++
>  8 files changed, 658 insertions(+)
>  create mode 100644 drivers/pci_endpoint/Kconfig
>  create mode 100644 drivers/pci_endpoint/Makefile
>  create mode 100644 drivers/pci_endpoint/pci_ep-uclass.c
>  create mode 100644 include/pci_ep.h

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list