summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram Bodireddy <vikram.bodireddy@intel.com>2019-11-12 13:56:29 +0300
committerThomaiyar, Richard Marian <richard.marian.thomaiyar@intel.com>2019-11-13 19:04:37 +0300
commit96032dc90447da45f096e57a7751b91d1db09052 (patch)
treed5d1c449fdef1a387edc50aab2a2f7a5e9f25a17
parentf80c33718f07dcb9be8d05a92c1e902e32947e08 (diff)
downloadprovingground-96032dc90447da45f096e57a7751b91d1db09052.tar.xz
PFR: CPLD mailbox i2c address change to 0x38
This commit change the PFR mailbox i2c address as the earlier address 0x70 had got conflicts with HSBP. Tested: tested on platform with debug CPLD. Change-Id: I99a2d89c7d558f5c7c2890151474afc647406aed Signed-off-by: Vikram Bodireddy <vikram.bodireddy@intel.com>
-rw-r--r--intel-pfr-manager/libpfr/src/pfr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/intel-pfr-manager/libpfr/src/pfr.cpp b/intel-pfr-manager/libpfr/src/pfr.cpp
index a61f72e..5e43d48 100644
--- a/intel-pfr-manager/libpfr/src/pfr.cpp
+++ b/intel-pfr-manager/libpfr/src/pfr.cpp
@@ -29,7 +29,8 @@ namespace pfr
// TODO: Dynamically pull these values from configuration
// entity-manager, when needed
static constexpr int i2cBusNumber = 4;
-static constexpr int i2cSlaveAddress = 0x70;
+// below given is 7bit address. Its 8bit addr is 0x70
+static constexpr int i2cSlaveAddress = 0x38;
// CPLD mailbox registers
static constexpr uint8_t cpldROTVersion = 0x01;