diff options
author | Claus Michael Olsen <cmolsen@us.ibm.com> | 2018-02-26 08:29:19 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-05-17 18:05:24 -0400 |
commit | b2270113704833db3c333a9aa36f46e95d3f0edf (patch) | |
tree | aec44dd504b64e0eb664b4cef91e93d220994c30 /src/usr | |
parent | 6838b3e411111f73ce0eebfb02d44d7c2baa15d1 (diff) | |
download | talos-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/usr')
-rw-r--r-- | src/usr/fapi2/plat_utils.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/fapi2/plat_utils.C b/src/usr/fapi2/plat_utils.C index 0d2c0d747..e6445e219 100644 --- a/src/usr/fapi2/plat_utils.C +++ b/src/usr/fapi2/plat_utils.C @@ -146,8 +146,8 @@ ReturnCode get_ring(Target<TARGET_TYPE_MEMBUF_CHIP>i_target, if(((P9XipHeader*)l_centaurHwImageAddr)->iv_magic == P9_XIP_MAGIC_CENTAUR) { - uint8_t l_ddLevel = UNDEFINED_DD_LEVEL; - myBoolean_t l_bDdSupport = false; + uint8_t l_ddLevel = UNDEFINED_DD_LEVEL; + MyBool_t l_bDdSupport = UNDEFINED_BOOLEAN; int l_rc = p9_xip_dd_section_support(l_centaurHwImageAddr, P9_XIP_SECTION_HW_RINGS, &l_bDdSupport); |