summaryrefslogtreecommitdiffstats
path: root/import/chips
diff options
context:
space:
mode:
authorAnusha Reddy Rangareddygari <anusrang@in.ibm.com>2016-06-30 16:29:42 +0200
committerSachin Gupta <sgupta2m@in.ibm.com>2016-07-05 00:52:07 -0400
commit59679dcc53b629e3a8fbf08fb6898596c0d4312b (patch)
tree4421bbc163bcbdf112abd48a0e3884ac44b0d88b /import/chips
parent0dbe7b6e5d2626ea28d9af968aa2d42a328facfc (diff)
downloadtalos-sbe-59679dcc53b629e3a8fbf08fb6898596c0d4312b.tar.gz
talos-sbe-59679dcc53b629e3a8fbf08fb6898596c0d4312b.zip
Level 2 Hwp for p9_start_cbs
* Include check for VDN_PGOOD after Cbs_done * Modifying Cbs_Idle fapi_err msg Change-Id: If6fd511cf12d1fb193246890d53fb576b70e90e9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26461 Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sunil Kumar <skumar8j@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26463 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/chips')
-rw-r--r--import/chips/p9/common/include/p9_perv_scom_addresses_fixes.H7
-rw-r--r--import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H32
2 files changed, 38 insertions, 1 deletions
diff --git a/import/chips/p9/common/include/p9_perv_scom_addresses_fixes.H b/import/chips/p9/common/include/p9_perv_scom_addresses_fixes.H
index 0a938358..cc8fadb8 100644
--- a/import/chips/p9/common/include/p9_perv_scom_addresses_fixes.H
+++ b/import/chips/p9/common/include/p9_perv_scom_addresses_fixes.H
@@ -29,9 +29,12 @@
// *HWP Level: 1
// *HWP Consumed by: FSP:HB:HS:OCC:SBE:CME:SGPE:PGPE:FPPE:IPPE
+
#ifndef __P9_PERV_SCOM_ADDRESSES_FIXES_H
#define __P9_PERV_SCOM_ADDRESSES_FIXES_H
+
+
//Example,
//Copy the whole line from the *scom_addresses.H file. Then add
//FIX in front of REG, and add another paramter that is the new
@@ -43,6 +46,7 @@
static const uint64_t SH_UNT_PERV_10 = 512;
static const uint64_t SH_UNT_PERV_11 = 513;
+static const uint64_t SH_UNT_PERV_CBS_ENVSTAT = 514;
REG64( PERV_OB1_CPLT_CONF1,
RULL(0x0A000009), SH_UNT_PERV_10, SH_ACS_SCOM_RW);
@@ -58,5 +62,8 @@ REG64( PERV_OB2_CPLT_CONF1_OR,
REG64( PERV_OB2_CPLT_CONF1_CLEAR,
RULL(0x0B000029), SH_UNT_PERV_11, SH_ACS_SCOM2_CLEAR);
+REG32( PERV_CBS_ENVSTAT_FSI, RULL(0x00002804), SH_UNT_PERV_CBS_ENVSTAT, SH_ACS_FSI);
+REG64( PERV_CBS_ENVSTAT_FSI_BYTE, RULL(0x00002810), SH_UNT_PERV_CBS_ENVSTAT, SH_ACS_FSI_BYTE);
+REG64( PERV_CBS_ENVSTAT_SCOM, RULL(0x00050004), SH_UNT_PERV_CBS_ENVSTAT, SH_ACS_SCOM);
#endif
diff --git a/import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H b/import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H
index 3a58f694..fee8aac1 100644
--- a/import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H
+++ b/import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H
@@ -7,7 +7,7 @@
/* */
/* EKB Project */
/* */
-/* COPYRIGHT 2015 */
+/* COPYRIGHT 2015,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -29,9 +29,13 @@
// *HWP Level: 1
// *HWP Consumed by: FSP:HB:HS:OCC:SBE:CME:SGPE:PGPE:FPPE:IPPE
+#include <p9_const_common.H>
+
#ifndef __P9_PERV_SCOM_ADDRESSES_FLD_FIXES_H
#define __P9_PERV_SCOM_ADDRESSES_FLD_FIXES_H
+#include <p9_perv_scom_addresses_fixes.H>
+
//Example
//Copy the whole line from the *scom_addresses_fld.H file. Then add FIX in front of REG
//and add another paramter that is the new value you want.
@@ -39,5 +43,31 @@
//FIXREG64_FLD( PU_ALTD_CMD_REG_FBC_WITH_TM_QUIESCE, 24, SH_UNT, SH_ACS_SCOM, SH_FLD_FBC_WITH_TM_QUIESCE,
// 12);
+//static const uint64_t SH_UNT_PERV_CBS_ENVSTAT = 514;
+static const uint64_t SH_FLD_C4_TEST_ENABLE = 32000;
+static const uint64_t SH_FLD_C4_CARD_TEST_BSC = 32001;
+static const uint64_t SH_FLD_C4_VDN_GPOOD = 32002;
+static const uint64_t SH_FLD_C4_FSI_IN_ENA = 32003;
+static const uint64_t SH_FLD_C4_CHIP_MASTER = 32004;
+static const uint64_t SH_FLD_C4_SMD = 32005;
+
+REG64_FLD( PERV_CBS_ENVSTAT_C4_TEST_ENABLE , 0 , SH_UNT_PERV_CBS_ENVSTAT ,
+ SH_ACS_SCOM ,
+ SH_FLD_C4_TEST_ENABLE );
+REG64_FLD( PERV_CBS_ENVSTAT_C4_CARD_TEST_BSC , 1 , SH_UNT_PERV_CBS_ENVSTAT ,
+ SH_ACS_SCOM ,
+ SH_FLD_C4_CARD_TEST_BSC );
+REG64_FLD( PERV_CBS_ENVSTAT_C4_VDN_GPOOD , 2 , SH_UNT_PERV_CBS_ENVSTAT ,
+ SH_ACS_SCOM ,
+ SH_FLD_C4_VDN_GPOOD );
+REG64_FLD( PERV_CBS_ENVSTAT_C4_FSI_IN_ENA , 3 , SH_UNT_PERV_CBS_ENVSTAT ,
+ SH_ACS_SCOM ,
+ SH_FLD_C4_FSI_IN_ENA );
+REG64_FLD( PERV_CBS_ENVSTAT_C4_CHIP_MASTER , 4 , SH_UNT_PERV_CBS_ENVSTAT ,
+ SH_ACS_SCOM ,
+ SH_FLD_C4_CHIP_MASTER );
+REG64_FLD( PERV_CBS_ENVSTAT_C4_SMD , 5 , SH_UNT_PERV_CBS_ENVSTAT ,
+ SH_ACS_SCOM ,
+ SH_FLD_C4_SMD );
#endif
OpenPOWER on IntegriCloud