Skip to content

Commit 9da93b5

Browse files
committed
Base support for MEMD partition in PNOR
Change-Id: I46d90997a1e4aa57264f0d539659e0aec8795f95 RTC: 175158 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42514 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
1 parent ebc8ba2 commit 9da93b5

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

src/build/buildpnor/defaultPnorLayout.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,4 +279,12 @@ Layout Description
279279
<side>sideless</side>
280280
<ecc/>
281281
</section>
282+
<section>
283+
<description>Memory Data (24K)</description>
284+
<eyeCatch>MEMD</eyeCatch>
285+
<physicalOffset>0x2F31000</physicalOffset>
286+
<physicalRegionSize>0x6000</physicalRegionSize>
287+
<side>sideless</side>
288+
<ecc/>
289+
</section>
282290
</pnor>

src/build/buildpnor/pnorLayoutFSP.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,12 @@ Layout Description - Used when building an FSP driver
267267
<side>sideless</side>
268268
<ecc/>
269269
</section>
270+
<section>
271+
<description>Memory Data (24K)</description>
272+
<eyeCatch>MEMD</eyeCatch>
273+
<physicalOffset>0x2E11000</physicalOffset>
274+
<physicalRegionSize>0x6000</physicalRegionSize>
275+
<side>sideless</side>
276+
<ecc/>
277+
</section>
270278
</pnor>

src/include/usr/pnor/pnor_const.H

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ enum SectionId
7272
WOFDATA, /**< VFRT data tables for WOF */
7373
SBKT, /**< SecureBoot Key Transition */
7474
HB_VOLATILE, /**< Semi volatile partition for reconfig */
75+
MEMD, /**< Memory configuration data */
7576
#endif
7677
NUM_SECTIONS, /**< Number of defined sections */
7778

src/usr/pnor/pnor_utils.C

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ const char * PNOR::SectionIdToString( uint32_t i_secIdIndex )
462462
"WOFDATA", /**< PNOR::WOFDATA : VFRT data tables for WOF */
463463
"SBKT", /**< PNOR::SBKT : SecureBoot Key Transition */
464464
"HB_VOLATILE", /**< PNOR::HB_VOLATILE : Semi volatile partition */
465+
"MEMD", /**< PNOR::MEMD : Memory configuration data */
465466
#endif
466467
};
467468

0 commit comments

Comments
 (0)