Skip to content

Commit

Permalink
L2 stop_gpe_init
Browse files Browse the repository at this point in the history
- Move to use of IVPR setting and Hard Reset for starting
- IVPR value comes from a HWP attribute written by p9_hcode_image_build.
  The value written will be for the SGPE Boot Copier and will decouples this
  procedure from HOMER layout changes.
- Added -set_hcode_done option to wrapper to force condition without real
  HCode
- Added SUET actions
- add missing p9_pm_hcd_flags.h file
- address Gerrit comments (including HB)
- Rebased (4)

Change-Id: I4497cf60d8643ef58372e5cf251810c68362db6b
Original-Change-Id: I0b5a94a16b0aff811eb526434ca6d02f51c781a8
RTC: 144279
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23274
Tested-by: Jenkins Server
Tested-by: Auto Mirror
Tested-by: Hostboot CI
Tested-by: PPE CI
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37031
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Amit Kumar authored and dcrowell77 committed Feb 27, 2017
1 parent 5429d9d commit 6da3ac3
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H
Expand Up @@ -83,6 +83,7 @@
// Constants
//-------------------------


namespace p9hcd
{

Expand Down Expand Up @@ -158,6 +159,32 @@ enum P9_HCD_COMMON_SCAN0_CONSTANTS
SCAN0_TYPE_GPTR = 0x200,
SCAN0_TYPE_FUNC_BNDY = 0x808
};
//OCC FLag defines
enum PM_GPE_OCCFLG_DEFS
{
SGPE_ACTIVE = 8
};

// XSR defines
enum XSR_DEFS
{
HALTED_STATE = 0
};


// XCR defines
enum XCR_DEFS
{
CLEAR_DEBUG_STATUS = 0,
HALT = 1,
RESUME = 2,
SINGLE_STEP = 3,
TOGGLE_XSR_TRH = 4,
SOFT_RESET = 5,
HARD_RESET = 6,
FORCE_HALT = 7
};


} // END OF NAMESPACE p9hcd

Expand All @@ -176,7 +203,5 @@ enum P9_HCD_COMMON_SCAN0_CONSTANTS
/// Scom addresses missing from p9_quad_scom_addresses.H
#define EQ_QPPM_QCCR_WCLEAR 0x100F01BE
#define EQ_QPPM_QCCR_WOR 0x100F01BF
#define EQ_QPPM_QACCR_CLEAR 0x100F0161
#define EQ_QPPM_QACCR_OR 0x100F0162

#endif // __P9_HCD_COMMON_H__

0 comments on commit 6da3ac3

Please sign in to comment.