summaryrefslogtreecommitdiffstats
path: root/external/opal-prd/opal-prd.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-09-30 15:27:51 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-09-30 17:14:49 +1000
commita667be78eb3865cd444d5a19be3378f3b073da15 (patch)
tree24e4383eacbd0cc1a3d71c7ccaa140764dac6b31 /external/opal-prd/opal-prd.c
parentc7192a449880617800fdc0b71419fd628eb89388 (diff)
downloadblackbird-skiboot-a667be78eb3865cd444d5a19be3378f3b073da15.tar.gz
blackbird-skiboot-a667be78eb3865cd444d5a19be3378f3b073da15.zip
opal-prd: Increase IPMI timeout to a slightly better value
We've seen various IPMI timeouts during testing (mainly hit by petitboot) but it seems that 5 seconds is the magic value that matches everywhere. This echoes what we use in petitboot, so at least being consistent with ourselves is a good idea. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/opal-prd/opal-prd.c')
-rw-r--r--external/opal-prd/opal-prd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c
index 1e7cd237..91db5e67 100644
--- a/external/opal-prd/opal-prd.c
+++ b/external/opal-prd/opal-prd.c
@@ -112,7 +112,7 @@ static const int opal_prd_version = 1;
static const uint64_t opal_prd_ipoll = 0xf000000000000000;
static const char *ipmi_devnode = "/dev/ipmi0";
-static const int ipmi_timeout_ms = 2000;
+static const int ipmi_timeout_ms = 5000;
static const char *devicetree_base =
"/sys/firmware/devicetree/base";
OpenPOWER on IntegriCloud