summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H
diff options
context:
space:
mode:
authorSumit Kumar <sumit_kumar@in.ibm.com>2018-08-04 10:36:24 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-13 10:35:49 -0500
commitce0ea22d0d9d93b1bf1cc491d93f7907c05185dc (patch)
tree6c7bf5057991d09d30aee352ac8553f75decb3d3 /src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H
parent9eb4bc85198afb36587d6a2a8dc9c86050d47d22 (diff)
downloadtalos-hostboot-ce0ea22d0d9d93b1bf1cc491d93f7907c05185dc.tar.gz
talos-hostboot-ce0ea22d0d9d93b1bf1cc491d93f7907c05185dc.zip
eRepair: Code restruct
- eRepair structs made packed - Formatted param of erepairSetFailedLanes function Change-Id: Ia953085aeace5b315114c5c628f1125d5e7eb699 CQ:SW441008 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63925 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63928 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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H')
-rwxr-xr-xsrc/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H b/src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H
index 8c16d1d2a..93df0bf3c 100755
--- a/src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H
+++ b/src/import/chips/p9/procedures/hwp/io/p9_io_erepairConsts.H
@@ -127,7 +127,7 @@ enum erepairVpdType
*****************************************************************************/
// eRepair Header
-struct eRepairHeader
+struct __attribute__ ((packed)) eRepairHeader
{
struct
{
@@ -149,7 +149,7 @@ struct eRepairProcDevInfo
};
// eRepair structure for failing lanes on Power Bus
-struct eRepairPowerBus
+struct __attribute__ ((packed)) eRepairPowerBus
{
eRepairProcDevInfo device; // Device info of P9
uint8_t type : 4; // Range:0x0-0xF. Value:PROCESSOR_EDIP
@@ -166,7 +166,7 @@ struct eRepairMemDevInfo
};
// eRepair structure of failing lanes on Memory Channel
-struct eRepairMemBus
+struct __attribute__ ((packed)) eRepairMemBus
{
eRepairMemDevInfo device; // Device info of P9 and Centaur
uint8_t type : 4; // Range:0x0-0xF. Value:MEMORY_EDIP
OpenPOWER on IntegriCloud