summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep11list.H
blob: 7006c83c2a1b67a657bcf1968dff866531dd832b (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/include/usr/isteps/istep11list.H $                        */
/*                                                                        */
/* OpenPOWER HostBoot Project                                             */
/*                                                                        */
/* Contributors Listed Below - COPYRIGHT 2012,2014                        */
/* [+] International Business Machines Corp.                              */
/*                                                                        */
/*                                                                        */
/* Licensed under the Apache License, Version 2.0 (the "License");        */
/* you may not use this file except in compliance with the License.       */
/* You may obtain a copy of the License at                                */
/*                                                                        */
/*     http://www.apache.org/licenses/LICENSE-2.0                         */
/*                                                                        */
/* Unless required by applicable law or agreed to in writing, software    */
/* distributed under the License is distributed on an "AS IS" BASIS,      */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        */
/* implied. See the License for the specific language governing           */
/* permissions and limitations under the License.                         */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
#ifndef __ISTEPS_ISTEP11LIST_H
#define __ISTEPS_ISTEP11LIST_H

/**
 * list of functions called for DMI Training - ISTEP 11 according to Dean's
 *  IPL Flow Doc        v1.35 (04/11/13)
 *
 * 11.1  mss_getecid
 *       :  Read out ECID orff all Centaurs
 * 11.2  dmi_attr_update
 *       :DMI ATTR update
 * 11.3  proc_dmi_scominit
 *       :  DMI Scom setup on P8 MCS
 * 11.4  dmi_scominit
 *       :  Scom setup on centaur
 * 11.5  dmi_erepair
 *          : Restore EDI Bus eRepair data
 * 11.6  dmi_io_dccal
 *       : Calibrate DMI interfaces
 * 11.7  dmi_pre_trainadv
 *       : Advanced pre DMI training
 * 11.8  dmi_io_run_training
 *       : Run training on MC buses
 * 11.9  dmi_post_trainadv
 *       : Advanced post DMI training
 * 11.10 proc_cen_framelock
 *       : Initialize EDI Frame
 * 11.11 host_startprd_dmi
 *       : Load prd for DMI domain
 * 11.12 host_attnlisten_cen
 *       : Start listening for attentions
 * 11.13 cen_set_inband_addr
 *       : Set the Inband base addresses
 */

/**
 * @file    istep11list.H
 *
 *
 *  Please see the note in initsvcstructs.H for description of
 *      the ISTEPNAME macro.
 *
 */

#include    <initservice/initsvcstructs.H>
#include    <initservice/initsvcreasoncodes.H>

//  include prototypes file
#include    "../../../usr/hwpf/hwp/dmi_training/dmi_training.H"
#include <config.h>

namespace   INITSERVICE
{

const   TaskInfo    g_istep11[]  =   {
        {
                "",         // dummy, index 0
                NULL,
                { NONE, EXT_IMAGE, IPL_NOOP, false }
        },

// Reduce extended image size for VPO
#ifndef CONFIG_VPO_COMPILE
        {
                ISTEPNAME(11,01,"mss_getecid"),
                DMI_TRAINING::call_mss_getecid,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,02,"dmi_attr_update"),
                DMI_TRAINING::call_dmi_attr_update,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,03,"proc_dmi_scominit"),
                DMI_TRAINING::call_proc_dmi_scominit,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,04,"dmi_scominit"),
                DMI_TRAINING::call_dmi_scominit,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,05,"dmi_erepair"),
                DMI_TRAINING::call_dmi_erepair,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,06,"dmi_io_dccal"),
                DMI_TRAINING::call_dmi_io_dccal,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,07,"dmi_pre_trainadv"),
                DMI_TRAINING::call_dmi_pre_trainadv,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,08,"dmi_io_run_training"),
                DMI_TRAINING::call_dmi_io_run_training,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,09,"dmi_post_trainadv"),
                DMI_TRAINING::call_dmi_post_trainadv,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,10,"proc_cen_framelock"),
                DMI_TRAINING::call_proc_cen_framelock,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,11,"host_startprd_dmi"),
                DMI_TRAINING::call_host_startprd_dmi,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,12,"host_attnlisten_cen"),
                DMI_TRAINING::call_host_attnlisten_cen,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
        {
                ISTEPNAME(11,13,"cen_set_inband_addr"),
                DMI_TRAINING::call_cen_set_inband_addr,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
        },
#endif
};

const DepModInfo g_istep11Dependancies = {
    {
#ifndef CONFIG_VPO_COMPILE
        DEP_LIB(libdmi_training.so),
        DEP_LIB(libedi_ei_initialization.so),
        DEP_LIB(libnest_chiplets.so),
#endif
        NULL
    }
};

const ExtTaskInfo g_istep11TaskList = {
    &(g_istep11[0]),
    ( sizeof(g_istep11)/sizeof(TaskInfo) ),
    &g_istep11Dependancies
};

};  // end namespace

#endif
OpenPOWER on IntegriCloud