From e2e0e045605128f32c83299692f829686c0ea675 Mon Sep 17 00:00:00 2001 From: Andre Marin Date: Fri, 2 Nov 2018 08:33:30 -0500 Subject: Add exp_draminit and fix data_structs constants Change-Id: Ic8011ed9b6261ce2849b2c51f79c9533261222bf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67837 Reviewed-by: STEPHEN GLANCY Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Hostboot CI Reviewed-by: Louis Stermole Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68429 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes --- src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_inband.C') 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 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& 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); -- cgit v1.2.1