diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2018-03-21 08:58:23 -0500 |
---|---|---|
committer | Nicholas E. Bofferding <bofferdn@us.ibm.com> | 2018-03-26 13:02:22 -0400 |
commit | b2bffd27478b2558c08103de957a9eeaadabb4ff (patch) | |
tree | 8f4f5f69a620629c0af0ac934060a83075a400f5 /src/usr/sbe | |
parent | a5fb7125def7c412fefb0f33079d6c34957dc213 (diff) | |
download | blackbird-hostboot-b2bffd27478b2558c08103de957a9eeaadabb4ff.tar.gz blackbird-hostboot-b2bffd27478b2558c08103de957a9eeaadabb4ff.zip |
Ensure ATTR_EC_GARD and ATTR_EQ_GARD are updated before SBE update
The xip_customize code does not look at target states directly.
Instead it just shoves a couple of attributes directly into the
image.
This change ensures those attributes are set correctly before
executing the xip_customize procedure.
Change-Id: I6e9ffedcea08af70882be1de6ff2203de8b3e30b
CQ: SW421514
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56144
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
CI-Ready: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/usr/sbe')
-rw-r--r-- | src/usr/sbe/sbe_update.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C index fc1708edf..fc1057d2f 100644 --- a/src/usr/sbe/sbe_update.C +++ b/src/usr/sbe/sbe_update.C @@ -47,6 +47,7 @@ #include <sys/misc.h> #include <sys/msg.h> #include <hwas/common/deconfigGard.H> +#include <hwas/common/hwas.H> #include <initservice/initserviceif.H> #include <console/consoleif.H> #include <config.h> @@ -1014,6 +1015,11 @@ namespace SBE do{ + // Before doing any customization, we need to ensure that the + // ATTR_EC/EQ_GARD attributes are setup to reflect the + // current state of our targets + HWAS::setChipletGardsOnProc(i_target); + // cast OUR type of target to a FAPI type of target. const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> l_fapiTarg(i_target); |