summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/nest
diff options
context:
space:
mode:
authorCHRISTINA L. GRAVES <clgraves@us.ibm.com>2015-09-16 14:24:32 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-11-16 17:59:01 -0500
commit102eb384558de87cda9133098e1bbd809427d14d (patch)
treeffc00fc8646484a8fd09a655d3364c9b7b884015 /src/import/chips/p9/procedures/hwp/nest
parent1bf7f7464012269089fb60cf69c562a182d3ebee (diff)
downloadtalos-hostboot-102eb384558de87cda9133098e1bbd809427d14d.tar.gz
talos-hostboot-102eb384558de87cda9133098e1bbd809427d14d.zip
Adding target for lco_m, changed flags, changed INF to DBG
Change-Id: I1c9bd9ce93c07b7bcafb8a6f961c92631a203123 Original-Change-Id: Ia390e82f22aea05e1fc24f203c0e2cfdfcc71a2d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20576 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49793 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> 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/p9/procedures/hwp/nest')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_pba_constants.H14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_pba_constants.H b/src/import/chips/p9/procedures/hwp/nest/p9_pba_constants.H
index bee4f4b6f..a5c7df6d3 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_pba_constants.H
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_pba_constants.H
@@ -45,18 +45,16 @@ extern "C"
// Constant definitions
//----------------------------------------------------------------------------------------------
-//if the flag is more than 1 bit there will be a start and end bit for the flag
-//these give the bit position that is expected for the flags
- enum flags
+//these give the bit mask for each flag
+ enum p9_pba_flags
{
//fastmode flag, if this flag is set it means we will not check for errors until the very last granule for the read/write
- FLAG_FASTMODE = 0,
+ FLAG_FASTMODE = 0x80000000ull,
//ttype flag, this is 3 bits, will be set to 0 for dma, 1, to lco_m, 2 for atomic, 3 for cache_inj, and 4 for ci_pr_w --same as in the documentation and how they will be passed to the register
- FLAG_TTYPE_START = 1,
- FLAG_TTYPE_END = 3
+ FLAG_TTYPE = 0x70000000ull
};
- enum proc_pba_write_ttype
+ enum p9_pba_write_ttype
{
DMA = 0,
LCO = 1,
@@ -65,6 +63,8 @@ extern "C"
CI = 4
};
+ const uint64_t FLAG_TTYPE_SHIFT = 28;
+
} //extern "C"
#endif //_P9_PBA_CONSTANTS_H_
OpenPOWER on IntegriCloud