From 37cd15d015e47a3ceb0ff4d73d36e7e8b6f6d9c9 Mon Sep 17 00:00:00 2001 From: Thi Tran Date: Mon, 27 Oct 2014 14:49:12 -0500 Subject: SW283548: HW Procedure workarounds for CAPI - HW299404 Change-Id: Ifc5e81de5da2ba0665d84579b488e5a794d68444 CQ:SW283548 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14199 Reviewed-by: Thi N. Tran Tested-by: Thi N. Tran Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14204 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C') diff --git a/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C b/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C index f94bf8fb5..5f54ae9e0 100644 --- a/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C +++ b/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C @@ -544,6 +544,17 @@ void* call_proc_chiplet_scominit( void *io_pArgs ) do { + // If running Sapphire, set sleep enable attribute here so + // initfile can be run correctly + if(is_sapphire_load()) + { + TARGETING::Target* l_sys = NULL; + TARGETING::targetService().getTopLevelTarget(l_sys); + assert( l_sys != NULL ); + uint8_t l_sleepEnable = 1; + l_sys->setAttr(l_sleepEnable); + } + // ---------------------------------------------- // Execute PROC_CHIPLET_SCOMINIT_FBC_IF initfile // ---------------------------------------------- -- cgit v1.2.1