diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2013-09-23 12:46:48 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-03 10:58:50 -0500 |
commit | 2005f2b4c6d477e5dafa16c447c8d7f43ae16c19 (patch) | |
tree | ac98b6848b010f42e6daa625826c3d37b97ffab5 /src/usr/hwpf/makefile | |
parent | 591ccab48c225369a23fa231472ceebb4f31e6ce (diff) | |
download | talos-hostboot-2005f2b4c6d477e5dafa16c447c8d7f43ae16c19.tar.gz talos-hostboot-2005f2b4c6d477e5dafa16c447c8d7f43ae16c19.zip |
Dynamically determine PLL ATTR based on freq and chip IDEC
Change-Id: I733760ecbc995d429de862fe56ad44fcc3aae228
RTC: 69918
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6305
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/makefile')
-rw-r--r-- | src/usr/hwpf/makefile | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/usr/hwpf/makefile b/src/usr/hwpf/makefile index 9d5b1be4f..ca9df5328 100644 --- a/src/usr/hwpf/makefile +++ b/src/usr/hwpf/makefile @@ -154,6 +154,16 @@ HWP_ATTR_XML_FILES = hwp/memory_attributes.xml \ hwp/proc_chip_ec_feature.xml #------------------------------------------------------------------------------ +# PLL files +#------------------------------------------------------------------------------ +HWP_PLL_FILES = hwp/pll_attributes/s1_10_pll_ring.attributes \ + hwp/pll_attributes/s1_13_pll_ring.attributes \ + hwp/pll_attributes/s1_20_pll_ring.attributes \ + hwp/pll_attributes/p8_10_pll_ring.attributes \ + hwp/pll_attributes/centaur_10_pll_ring.attributes \ + hwp/pll_attributes/centaur_20_pll_ring.attributes + +#------------------------------------------------------------------------------ # Initfiles #------------------------------------------------------------------------------ HWP_INITFILES = hwp/initfiles/sample.initfile \ @@ -221,6 +231,9 @@ PLAT_HWP_ERR_PARSER = fapiPlatHwpErrParser.H # The FAPI attribute id file generated from Attribute XML files FAPI_ATTR_ID_TARGET = fapiAttributeIds.H +# The FAPI PLL attribute file generated from pll files +FAPI_PLL_TARGET = fapiPllRingAttr.H + # The FAPI files generated from Attribute XML files FAPI_ATTR_TARGETS = fapiChipEcFeature.C fapiAttributePlatCheck.H \ fapiAttributesSupported.html fapiAttrInfo.csv \ @@ -248,7 +261,8 @@ GENFILES = ${IF_CMP_YACC_C_TARGET} \ ${FAPI_ATTR_ID_TARGET} \ ${FAPI_ATTR_TARGETS} \ ${HWP_IF_ALL_TARGETS} \ - ${FAPI_ATTR_IF_TARGET} + ${FAPI_ATTR_IF_TARGET} \ + ${FAPI_PLL_TARGET} GENFILES_PLUGINS = ${PLAT_HWP_ERR_PARSER} @@ -320,6 +334,13 @@ $(call GENTARGET, ${FAPI_ATTR_ID_TARGET} ${FAPI_ATTR_TARGETS}) : \ $< $(dir $@) ${HWP_ATTR_XML_FILES} #------------------------------------------------------------------------------ +# The PLL attribute file +#------------------------------------------------------------------------------ +$(call GENTARGET, ${FAPI_PLL_TARGET}) : \ + fapi/fapiCreatePllRingAttrVals.pl ${HWP_PLL_FILES} + $< $(dir $@) ${HWP_PLL_FILES} + +#------------------------------------------------------------------------------ # The binary, list and attr files generated from Initfiles #------------------------------------------------------------------------------ define HWP_IF_RECIPE |