summaryrefslogtreecommitdiffstats
path: root/board/gateworks
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2014-08-07 22:35:51 -0700
committerStefano Babic <sbabic@denx.de>2014-08-20 13:04:12 +0200
commit6a9032112e1bca8bab974b5da9a03b37d49538a6 (patch)
tree9106b52d22160099a2f68e2466754ce40e639268 /board/gateworks
parent6a165904ac31930cf25d954aa8b845c33b001d1b (diff)
downloadblackbird-obmc-uboot-6a9032112e1bca8bab974b5da9a03b37d49538a6.tar.gz
blackbird-obmc-uboot-6a9032112e1bca8bab974b5da9a03b37d49538a6.zip
imx: ventana: leave PCI reset de-asserted if PCI enabled
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 67a646c059..2915b9057f 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -995,12 +995,10 @@ static void setup_board_gpio(int board)
gpio_direction_output(GP_MSATA_SEL, 0);
}
- /*
- * assert PCI_RST# (released by OS when clock is valid)
- * TODO: figure out why leaving this de-asserted from PCI scan on boot
- * causes linux pcie driver to hang during enumeration
- */
+#if !defined(CONFIG_CMD_PCI)
+ /* assert PCI_RST# (released by OS when clock is valid) */
gpio_direction_output(gpio_cfg[board].pcie_rst, 0);
+#endif
/* turn off (active-high) user LED's */
for (i = 0; i < 4; i++) {
OpenPOWER on IntegriCloud