From: Tim Harvey Date: Thu, 7 Aug 2014 22:49:55 -0700 Subject: [U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch Message-ID: <1407476997-6590-1-git-send-email-tharvey@gateworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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