summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2018-02-26 08:29:19 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-17 18:05:24 -0400
commitb2270113704833db3c333a9aa36f46e95d3f0edf (patch)
treeaec44dd504b64e0eb664b4cef91e93d220994c30 /src/import/chips/p9/xip
parent6838b3e411111f73ce0eebfb02d44d7c2baa15d1 (diff)
downloadtalos-hostboot-b2270113704833db3c333a9aa36f46e95d3f0edf.tar.gz
talos-hostboot-b2270113704833db3c333a9aa36f46e95d3f0edf.zip
Update to p9_xip_tool to handle stand-alone DDCO ring files.
In this update, we're adding support to p9_xip_tool to be able to dissect and extract stand-alone DDCO ring files, i.e. files that are DD packaged through using the dd_container API and which is the DD packaging that XIP "understands". Right now, dissect and extract (of a specific DD level) can only be achieved if the DDCO binary is attached to the XIP image as one of the rings sections, .rings, .overlays or .overrides. Key_Cronus_Test=XIP_REGRESS Change-Id: I8be00742f05b4df61652a1de6d0230bb5d203f97 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54704 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56110 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip')
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.C4
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.C b/src/import/chips/p9/xip/p9_xip_image.C
index fd0606e40..595354b54 100644
--- a/src/import/chips/p9/xip/p9_xip_image.C
+++ b/src/import/chips/p9/xip/p9_xip_image.C
@@ -3238,7 +3238,7 @@ p9_xip_map_toc(void* io_image,
//
int p9_xip_dd_section_support(const void* i_image,
const int i_sectionId,
- myBoolean_t* o_bDdSupport)
+ MyBool_t* o_bDdSupport)
{
int rc;
P9XipSection section;
@@ -3247,7 +3247,7 @@ int p9_xip_dd_section_support(const void* i_image,
if (!rc)
{
- *o_bDdSupport = (myBoolean_t)section.iv_ddSupport;
+ *o_bDdSupport = (MyBool_t)section.iv_ddSupport;
if (section.iv_ddSupport != true && section.iv_ddSupport != false)
{
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index cd3812db4..d5e8cc43c 100644
--- a/src/import/chips/p9/xip/p9_xip_image.h
+++ b/src/import/chips/p9/xip/p9_xip_image.h
@@ -1391,7 +1391,7 @@ p9_xip_get_toc(void* i_image,
int
p9_xip_dd_section_support(const void* i_image,
const int i_sectionId,
- myBoolean_t* o_bDdSupport);
+ MyBool_t* o_bDdSupport);
/// \brief Decode a TOC entry from dump file
OpenPOWER on IntegriCloud