summaryrefslogtreecommitdiff
path: root/src/vendorcode/cavium/bdk/libbdk-boot
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-07-12 15:36:26 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-07-17 08:15:10 +0000
commit780114fb07d3cc1429307497584ecd03d6f5bc02 (patch)
tree23c52001d0aa6778b0650bde23a904adcae976fb /src/vendorcode/cavium/bdk/libbdk-boot
parentbb11232210347a736fc24b69ad25faade70f00cb (diff)
cavium/bdk: Poke the watchdog while PCIe init
Prevent a reboot loop due to slow PCIe init. Poke the watchdog a few times. Change-Id: I03739d7dbad3072ccf77364fa4caba42c66ac643 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/27455 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/cavium/bdk/libbdk-boot')
-rw-r--r--src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-pcie.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-pcie.c b/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-pcie.c
index b03c2e03ee..d52d6e9053 100644
--- a/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-pcie.c
+++ b/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-pcie.c
@@ -61,6 +61,7 @@ void bdk_boot_pcie(void)
{
BDK_TRACE(INIT, "Initializing PCIe%d on Node %d\n", p, n);
bdk_pcie_rc_initialize(n, p);
+ bdk_watchdog_poke();
}
}
}