[U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch

Tim Harvey tharvey at gateworks.com
Fri Aug 8 07:49:55 CEST 2014


Many of the Gateworks Ventana boards have a PLX PCIe switch where GPIO
on the switch is used as the PERST# of the downstream ports. In the Linux
kernel there is a PCI fixup that asserts these properly when the upstream
port is enumerated.

The first patch in this serial adds a board_pci_fixup_dev function define
to allow hooking similarly to the kernel pci fixup functionality.

The second patch uses the board_pci_fixup_dev function to perform the
GPIO configuration on the switch for the downstream ports.

Tim Harvey (2):
  pci: add support for board_pci_fixup_dev function
  imx: ventana: add pci fixup for PLX PEX860x switch GPIO

 board/gateworks/gw_ventana/gw_ventana.c | 30 ++++++++++++++++++++++++++++++
 drivers/pci/pci.c                       |  4 ++++
 include/configs/gw_ventana.h            |  1 +
 include/pci.h                           |  7 +++++++
 4 files changed, 42 insertions(+)

-- 
1.8.3.2



More information about the U-Boot mailing list