Skip to content

Commit

Permalink
imx: ventana: move pci_fixup before peripheral config
Browse files Browse the repository at this point in the history
Move pci_fixup before the check for 'fdt_noconfig' so it is always run.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  • Loading branch information
Gateworks committed Apr 6, 2016
1 parent 3fb5368 commit b6f3c2e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions board/gateworks/gw_ventana/gw_ventana.c
Expand Up @@ -1451,6 +1451,11 @@ int ft_board_setup(void *blob, bd_t *bd)
printf(" Config LDO-%s mode\n", ldo_enabled ? "enabled" : "bypass");
adjust_pmic(ldo_enabled);

#if defined(CONFIG_CMD_PCI)
if (!getenv("nopcifixup"))
ft_board_pci_fixup(blob, bd);
#endif

/*
* Peripheral Config:
* remove nodes by alias path if EEPROM config tells us the
Expand All @@ -1469,11 +1474,6 @@ int ft_board_setup(void *blob, bd_t *bd)
cfg++;
}

#if defined(CONFIG_CMD_PCI)
if (!getenv("nopcifixup"))
ft_board_pci_fixup(blob, bd);
#endif /* if defined(CONFIG_CMD_PCI) */

return 0;
}
#endif /* defined(CONFIG_OF_FLAT_TREE) && defined(CONFIG_OF_BOARD_SETUP) */
Expand Down

0 comments on commit b6f3c2e

Please sign in to comment.