summaryrefslogtreecommitdiff
path: root/drivers/pci/pcie_dw_mvebu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pcie_dw_mvebu.c')
-rw-r--r--drivers/pci/pcie_dw_mvebu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/pcie_dw_mvebu.c b/drivers/pci/pcie_dw_mvebu.c
index 8081005c27..95fb41966f 100644
--- a/drivers/pci/pcie_dw_mvebu.c
+++ b/drivers/pci/pcie_dw_mvebu.c
@@ -489,7 +489,9 @@ static int pcie_dw_mvebu_probe(struct udevice *dev)
* using this GPIO.
*/
if (dm_gpio_is_valid(&reset_gpio)) {
- dm_gpio_set_value(&reset_gpio, 1);
+ dm_gpio_set_value(&reset_gpio, 1); /* assert */
+ mdelay(200);
+ dm_gpio_set_value(&reset_gpio, 0); /* de-assert */
mdelay(200);
}
#else