summaryrefslogtreecommitdiffstats
path: root/common/recipes-lib/ipmb/files/ipmb.h
diff options
context:
space:
mode:
authorTian Fang <tfang@fb.com>2015-12-14 22:08:40 -0800
committerTian Fang <tfang@fb.com>2015-12-15 09:49:21 -0800
commite65a7944211c70f6b5cfb6cedd73cc31105319de (patch)
tree067082251bc52bc6c09ca87feaa1352d0468a5ac /common/recipes-lib/ipmb/files/ipmb.h
parent8a67fbdd0e251bb34d55992b0771edba1837d589 (diff)
downloadast2050-yocto-openbmc-e65a7944211c70f6b5cfb6cedd73cc31105319de.zip
ast2050-yocto-openbmc-e65a7944211c70f6b5cfb6cedd73cc31105319de.tar.gz
Sync to internal OpenBMC repo f926614
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