summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
diff options
context:
space:
mode:
authorAndre Marin <aamarin@us.ibm.com>2018-11-02 08:33:30 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-11-21 10:42:24 -0600
commite2e0e045605128f32c83299692f829686c0ea675 (patch)
tree3dfd0ca63b98c7292d042f75c4fa381a2b66cd2d /src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
parent3f1f2186bb80322594a3cc81241c390119d69552 (diff)
downloadtalos-hostboot-e2e0e045605128f32c83299692f829686c0ea675.tar.gz
talos-hostboot-e2e0e045605128f32c83299692f829686c0ea675.zip
Add exp_draminit and fix data_structs constants
Change-Id: Ic8011ed9b6261ce2849b2c51f79c9533261222bf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67837 Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68429 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
index 4bccb489b..4e86dcc40 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C
@@ -239,7 +239,7 @@ std::vector<uint8_t> host_fw_command_struct_to_little_endian(const host_fw_comma
forceLE(i_input.cmd_crc, l_data);
forceLE(i_input.host_work_area, l_data);
forceLE(i_input.cmd_work_area, l_data);
- forceLEArray(i_input.padding, PADDING_SIZE, l_data);
+ forceLEArray(i_input.padding, CMD_PADDING_SIZE, l_data);
forceLEArray(i_input.command_argument, ARGUMENT_SIZE, l_data);
// Generates and adds on the CRC
@@ -403,7 +403,7 @@ bool host_fw_response_struct_from_little_endian(const std::vector<uint8_t>& i_da
l_rc &= readLE(i_data, l_idx, o_response.response_crc);
l_rc &= readLE(i_data, l_idx, o_response.host_work_area);
- l_rc &= readLEArray(i_data, PADDING_SIZE, l_idx, o_response.padding);
+ l_rc &= readLEArray(i_data, RSP_PADDING_SIZE, l_idx, o_response.padding);
l_rc &= readLEArray(i_data, ARGUMENT_SIZE, l_idx, o_response.response_argument);
o_crc = crc32_gen(i_data, l_idx);
OpenPOWER on IntegriCloud