summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H
blob: fee8aac13821c55a8efe1e2dfa139d9874179de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H $  */
/*                                                                        */
/* IBM CONFIDENTIAL                                                       */
/*                                                                        */
/* EKB Project                                                            */
/*                                                                        */
/* COPYRIGHT 2015,2016                                                    */
/* [+] International Business Machines Corp.                              */
/*                                                                        */
/*                                                                        */
/* The source code for this program is not published or otherwise         */
/* divested of its trade secrets, irrespective of what has been           */
/* deposited with the U.S. Copyright Office.                              */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
///
/// @file perv_scom_addresses_fld_fixes.H
/// @brief The *scom_addresses_fld.H files are generated form figtree,
///        but the figree can be wrong.  This file is included in
///        *_scom_addresses_fld.H and allows incorrect constants to be
///        fixed manually.
///
// *HWP HWP Owner: Ben Gass <bgass@us.ibm.com>
// *HWP FW Owner: ? <?>
// *HWP Team: SAO
// *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.
//
//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