summaryrefslogtreecommitdiffstats
path: root/common/recipes-lib/ipmb/files/ipmb.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-lib/ipmb/files/ipmb.h')
-rw-r--r--common/recipes-lib/ipmb/files/ipmb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/recipes-lib/ipmb/files/ipmb.h b/common/recipes-lib/ipmb/files/ipmb.h
index d9bc16b..070e7ed 100644
--- a/common/recipes-lib/ipmb/files/ipmb.h
+++ b/common/recipes-lib/ipmb/files/ipmb.h
@@ -40,7 +40,10 @@ extern "C" {
// Slot#0 is on I2C Bus1
#define IPMB_BUS_SLOT0 1
-#define TIMEOUT_IPMI 4
+// TODO: Some IPMB responses take about 5-6 seconds
+// Need to add a timeout parameter to IPMB request
+// For now changing global timeout to 8 seconds
+#define TIMEOUT_IPMB 8
#define MAX_IPMB_RES_LEN 255
typedef struct _ipmb_req_t {
OpenPOWER on IntegriCloud