diff options
author | Tian Fang <tfang@fb.com> | 2015-12-14 22:08:40 -0800 |
---|---|---|
committer | Tian Fang <tfang@fb.com> | 2015-12-15 09:49:21 -0800 |
commit | e65a7944211c70f6b5cfb6cedd73cc31105319de (patch) | |
tree | 067082251bc52bc6c09ca87feaa1352d0468a5ac /common/recipes-lib/ipmb/files/ipmb.h | |
parent | 8a67fbdd0e251bb34d55992b0771edba1837d589 (diff) | |
download | ast2050-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.h | 5 |
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 { |