diff options
author | Thi Tran <thi@us.ibm.com> | 2014-10-27 14:49:12 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-10-28 16:18:16 -0500 |
commit | 37cd15d015e47a3ceb0ff4d73d36e7e8b6f6d9c9 (patch) | |
tree | a5e794da6e67fb8f8633243029fe694993ddfd39 /src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C | |
parent | 759896fd7cfacf2a9ae5c18e3635d70cb3977be1 (diff) | |
download | talos-hostboot-37cd15d015e47a3ceb0ff4d73d36e7e8b6f6d9c9.tar.gz talos-hostboot-37cd15d015e47a3ceb0ff4d73d36e7e8b6f6d9c9.zip |
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 <thi@us.ibm.com>
Tested-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14204
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C')
-rw-r--r-- | src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C | 11 |
1 files changed, 11 insertions, 0 deletions
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<TARGETING::ATTR_PM_SLEEP_ENABLE>(l_sleepEnable); + } + // ---------------------------------------------- // Execute PROC_CHIPLET_SCOMINIT_FBC_IF initfile // ---------------------------------------------- |