blob: 6adbb546ef9352cfa61b27ae6acd59300c574142 (
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
|
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/include/usr/initservice/mboxRegs.H $ */
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2016 */
/* [+] 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 MBOXREGS_H_
#define MBOXREGS_H_
namespace INITSERVICE
{
namespace SPLESS
{
const uint32_t MBOX_SCRATCH_REG1 = 0x00050038; //CFAM 2838
const uint32_t MBOX_SCRATCH_REG2 = 0x00050039; //CFAM 2839
const uint32_t MBOX_SCRATCH_REG3 = 0x0005003a; //CFAM 283A
const uint32_t MBOX_SCRATCH_REG4 = 0x0005003b; //CFAM 283B
const uint32_t MBOX_SCRATCH_REG5 = 0x0005003c; //CFAM 283C
const uint32_t MBOX_SCRATCH_REG6 = 0x0005003d; //CFAM 283D
const uint32_t MBOX_SCRATCH_REG7 = 0x0005003e; //CFAM 283E
const uint32_t MBOX_SCRATCH_REG8 = 0x0005003f; //CFAM 283F
// Mailbox Scratch Register 3
union MboxScratch3_t
{
uint32_t data32;
struct
{
uint32_t istepMode :1; //0
uint32_t goToRuntime :1; //1
uint32_t isMpipl :1; //2
uint32_t fspAttached :1; //3
uint32_t sbeFFDC :1; //4
uint32_t sbeInternalFFDC :1; //5
uint32_t reserved :26; //6:31
} PACKED;
};
// Mailbox Scratch Register 4
union MboxScratch4_t
{
uint32_t data32;
struct
{
uint32_t bootFreqMult :16; //0:15
uint32_t cpFilterBypass :1; //16
uint32_t ssFilterBypass :1; //17
uint32_t ioFilterBypass :1; //18
uint32_t dpllBypass :1; //19
uint32_t nestMemXoPcieBypass :1; //20
uint32_t reserved :3; //21:23
uint32_t nestPllBucket :8; //24:31
} PACKED;
};
// Mailbox Scratch Register 5
union MboxScratch5_t
{
uint32_t data32;
struct
{
uint32_t cacheContained :1; //0
uint32_t initAllCores :1; //1
uint32_t riskLevel :1; //2
uint32_t noBLVectors :1; //3
uint32_t mcSyncMode :1; //4
uint32_t reserved :7; //5:11
uint32_t clockPllMux :20; //12:31
} PACKED;
};
// Mailbox Scratch Register 8
union MboxScratch8_t
{
uint32_t data32;
struct
{
uint32_t validFwFunctionalEqEc :1; //0
uint32_t validSbeI2cBusSpeed :1; //1
uint32_t validFwMode :1; //2
uint32_t validBootFreq :1; //3
uint32_t validHwpControlFlags :1; //4
uint32_t validMasterSlaveChipNode :1; //5
uint32_t validDrtmPayloadAddr :1; //6
uint32_t validBytes :1; //7
uint32_t reserved :24; //8:31
} PACKED;
};
};
};
#endif
|