summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C')
-rw-r--r--src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C b/src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C
index 6aba97bc5..f0828b072 100644
--- a/src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C
+++ b/src/usr/isteps/istep10/call_proc_cen_ref_clk_enable.C
@@ -102,6 +102,11 @@
#include "../../secureboot/common/errlud_secure.H"
#include <sbe/sbe_update.H>
+#ifdef CONFIG_SECUREBOOT
+#include <secureboot/service.H>
+#include <scom/centaurScomCache.H>
+#endif
+
// end includes for post sbe secureboot steps
const uint64_t MS_TO_WAIT_FIRST = 2500; //(2.5 s)
@@ -817,6 +822,16 @@ void* call_proc_cen_ref_clk_enable(void *io_pArgs )
validateSecuritySettings();
+#ifdef CONFIG_SECUREBOOT
+ if(SECUREBOOT::enabled())
+ {
+ SECUREBOOT::CENTAUR_SECURITY::ScomCache& centaurCache =
+ SECUREBOOT::CENTAUR_SECURITY::ScomCache::getInstance();
+ centaurCache.init();
+ centaurCache.enableCache();
+ }
+#endif
+
TARGETING::TargetHandleList functionalProcChipList;
getAllChips(functionalProcChipList, TYPE_PROC, true);
OpenPOWER on IntegriCloud