From a626d52d904c4440530f0fc9adc8a7f72fdb9460 Mon Sep 17 00:00:00 2001 From: Elizabeth Liner Date: Fri, 6 Feb 2015 13:39:37 -0600 Subject: Added support for core scoms special wakeup in HBRT Change-Id: Iab301d045c389d30fa860fd9b148eed6b2df52e0 RTC:88347 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15732 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/plat/fapiPlatUtil.C | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/usr/hwpf/plat/fapiPlatUtil.C') diff --git a/src/usr/hwpf/plat/fapiPlatUtil.C b/src/usr/hwpf/plat/fapiPlatUtil.C index 5e08ece80..64df4d33a 100644 --- a/src/usr/hwpf/plat/fapiPlatUtil.C +++ b/src/usr/hwpf/plat/fapiPlatUtil.C @@ -39,12 +39,15 @@ #include #include #include +#include + #ifdef __HOSTBOOT_RUNTIME #include #include #include #include +#include "handleSpecialWakeup.H" #endif //****************************************************************************** @@ -258,7 +261,19 @@ fapi::ReturnCode fapiSpecialWakeup(const fapi::Target & i_target, fapi::ReturnCode fapi_rc = fapi::FAPI_RC_SUCCESS; FAPI_INF("fapiSpecialWakeup"); #ifdef __HOSTBOOT_RUNTIME - if(g_hostInterfaces && g_hostInterfaces->wakeup) + if(!INITSERVICE::spBaseServicesEnabled()) + { + TARGETING::Target* l_EXtarget = + reinterpret_cast(i_target.get()); + + errlHndl_t err_SW = handleSpecialWakeup(l_EXtarget,i_enable); + if(err_SW) + { + fapi_rc.setPlatError(reinterpret_cast(err_SW)); + } + + } + else if(g_hostInterfaces && g_hostInterfaces->wakeup) { TARGETING::Target* target = reinterpret_cast(i_target.get()); -- cgit v1.2.1