public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch
@ 2014-08-08  5:49 Tim Harvey
  2014-08-08  5:49 ` [U-Boot] [PATCH 1/2] pci: add support for board_pci_fixup_dev function Tim Harvey
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tim Harvey @ 2014-08-08  5:49 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-09 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08  5:49 [U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch Tim Harvey
2014-08-08  5:49 ` [U-Boot] [PATCH 1/2] pci: add support for board_pci_fixup_dev function Tim Harvey
2014-09-09 14:17   ` Stefano Babic
2014-08-08  5:49 ` [U-Boot] [PATCH 2/2] imx: ventana: add pci fixup for PLX PEX860x switch GPIO Tim Harvey
2014-09-09 14:17   ` Stefano Babic
2014-08-21  6:37 ` [U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch Tim Harvey
2014-09-09 14:14   ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox