Skip to content

Commit

Permalink
Update OBUS PLL Bucket attribute getter with Axone EC levels
Browse files Browse the repository at this point in the history
This function needed to be updated to handle new Axone EC 1.0 and
Axone EC 1.1 OBUS PLL Bucket values.

Change-Id: I1be2803e9440d8e355964d75710134f240ec41e8
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71222
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
crgeddes authored and dcrowell77 committed Feb 11, 2019
1 parent 27e1f1e commit 37c6c66
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/usr/util/utilcommonattr.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2017,2018 */
/* Contributors Listed Below - COPYRIGHT 2017,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -100,6 +100,22 @@ errlHndl_t getObusPllBucket(TARGETING::Target * i_chipTarget,
break;
}
}
else if(l_chipModel == TARGETING::MODEL_AXONE)
{
switch (l_chipECLevel)
{
case 0x10:
l_freqList = OBUS_PLL_FREQ_LIST_P9A_10;
break;
case 0x11:
l_freqList = OBUS_PLL_FREQ_LIST_P9A_11;
break;
default:
TRACFCOMP(g_util_trace, "Unknown EC level 0x%x for AXONE",
l_chipECLevel);
break;
}
}
//else
//{
// fall-through, will be caught by l_freqList nullptr check
Expand Down

0 comments on commit 37c6c66

Please sign in to comment.