diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-02-11 07:41:18 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-02-15 23:10:06 -0600 |
commit | ac87f6667b90b4839058dbd6a051f2ae7bab71f6 (patch) | |
tree | ca8dc821301cb6852d481a5284106ab202a802e6 /sbe/sbefw | |
parent | e32d96cd8f1cf643b56cc3cd0f5de87feb97a803 (diff) | |
download | talos-sbe-ac87f6667b90b4839058dbd6a051f2ae7bab71f6.tar.gz talos-sbe-ac87f6667b90b4839058dbd6a051f2ae7bab71f6.zip |
Change in signature for select_ex
Change-Id: I8d5d501064a071f967593399a73fd0b47ec193b1
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24203
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sbe/sbefw')
-rw-r--r-- | sbe/sbefw/sbecmdiplcontrol.C | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/sbe/sbefw/sbecmdiplcontrol.C b/sbe/sbefw/sbecmdiplcontrol.C index 179ccafc..3ed99a54 100644 --- a/sbe/sbefw/sbecmdiplcontrol.C +++ b/sbe/sbefw/sbecmdiplcontrol.C @@ -84,6 +84,7 @@ ReturnCode istepAttrSetup( sbeIstepHwp_t i_hwp ); ReturnCode istepNoOp( sbeIstepHwp_t i_hwp ); ReturnCode istepWithEq( sbeIstepHwp_t i_hwp); ReturnCode istepWithCore( sbeIstepHwp_t i_hwp); +ReturnCode istepSelectEx( sbeIstepHwp_t i_hwp); ReturnCode istepLoadBootLoader( sbeIstepHwp_t i_hwp); //structure for mapping SBE wrapper and HWP functions @@ -152,12 +153,7 @@ static istepMap_t g_istep3PtrTbl[ ISTEP3_MAX_SUBSTEPS ] = { &istepWithProc, { .procHwp = &p9_sbe_nest_startclocks }}, #endif { &istepWithProc, { .procHwp = &p9_sbe_nest_enable_ridi }}, - // TODO via RTC 142710 - // L1 for p9_sbe_startclock_chiplets has wrong signature. - // PERV team has fixed this in gerrit. Once it is merged - // to master, enable this hwp. Remove No-Op after this. - // { &istepWithProc, { .procHwp = &p9_sbe_startclock_chiplets }}, - { &istepNoOp, NULL }, // startclock_chiple wrong signature + { &istepWithProc, { .procHwp = &p9_sbe_startclock_chiplets }}, { &istepWithProc, { .procHwp = &p9_sbe_scominit }}, { &istepWithProc, { .procHwp = &p9_sbe_lpc_init }}, #ifdef SBE_ISTEP_STUBBED @@ -173,7 +169,7 @@ static istepMap_t g_istep3PtrTbl[ ISTEP3_MAX_SUBSTEPS ] = // in this code //{ &istepWithProc, { .procHwp = &p9_sbe_mcs_setup }}, { &istepNoOp, NULL }, // mcs_setup does not compile currently - { &istepWithProc, { .procHwp = &p9_sbe_select_ex }}, + { &istepSelectEx, NULL }, }; static istepMap_t g_istep4PtrTbl[ ISTEP4_MAX_SUBSTEPS ] = { @@ -452,6 +448,18 @@ ReturnCode istepWithProc( sbeIstepHwp_t i_hwp) //---------------------------------------------------------------------------- +ReturnCode istepSelectEx( sbeIstepHwp_t i_hwp) +{ + SBE_DEBUG("istepWithProc"); + Target<TARGET_TYPE_PROC_CHIP > proc = plat_getChipTarget(); + // TODO via RTC 135345 + // Once multicast targets are supported, we may need to pass + // p9selectex::ALL as input. + return p9_sbe_select_ex(proc, p9selectex::SINGLE); +} + +//---------------------------------------------------------------------------- + ReturnCode istepWithEq( sbeIstepHwp_t i_hwp) { |