summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H
index 530efde2b..d90408df0 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H
@@ -128,16 +128,20 @@ fapi_try_exit:
inline void boot_config_setup(std::vector<uint8_t>& io_data)
{
+
// Need data length as well - boot config can only ever be written
- io_data.push_back(FW_BOOT_CONFIG_BYTE_LEN);
+ io_data.insert(io_data.begin(), FW_BOOT_CONFIG_BYTE_LEN);
// Then add the command
- io_data.push_back(FW_BOOT_CONFIG);
+ io_data.insert(io_data.begin(), FW_BOOT_CONFIG);
- // Written commands need to be in the form of (MSB first)
+ // Written commands need to be in the form of (MSB first). Confirmed by hardware characterization team.
// CMD
// DATA LEN
- // DATA
+ // DATA3
+ // DATA2
+ // DATA1
+ // DATA0
}
///
OpenPOWER on IntegriCloud