
On Mon, May 11, 2015 at 12:59 AM, Stefano Babic sbabic@denx.de wrote:
Hi Tim,
On 09/05/2015 03:28, Tim Harvey wrote:
The re-assignment of pcie_rst gpio for GW522x needs to occur earlier, before the PCI subsystem calls the toggle funciton.
Signed-off-by: Tim Harvey tharvey@gateworks.com
board/gateworks/gw_ventana/gw_ventana.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 554cd84..8cfc1f2 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -1184,10 +1184,6 @@ static void setup_board_gpio(int board) }
#if !defined(CONFIG_CMD_PCI)
/* GW522x Uses GPIO3_IO23 for PCIE_RST# */
if (board_type == GW52xx && info->model[4] == '2')
gpio_cfg[board].pcie_rst = IMX_GPIO_NR(3, 23);
This code runs now without #ifdef protection. Is it desired ?
Stefano,
Yes - I did intend to remove the #ifdef protection.
Regards,
Tim