diff options
author | Mike Baiocchi <baiocchi@us.ibm.com> | 2015-06-19 03:51:14 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-07-29 09:44:29 -0500 |
commit | d92d751ca50a2ca19bdbdec06ed4ad05339eaf3e (patch) | |
tree | 635d4f8a53bdfc7f90d28d325802a38b7d3a829b /src/usr/hwpf/hwp/mc_config/mc_config.H | |
parent | 296fe5b3960936275c3a1829581b10d5a4894828 (diff) | |
download | talos-hostboot-d92d751ca50a2ca19bdbdec06ed4ad05339eaf3e.tar.gz talos-hostboot-d92d751ca50a2ca19bdbdec06ed4ad05339eaf3e.zip |
Changes for Brazos 2z/3z Support
This commit has the hostboot changes for Brazos 2z/3z support along with
some attributes that Hostboot and HWSV share. It also contains memory
XML and HWP changes from SW305517 and SW305518.
Change-Id: I71896dfac6946624bed3e216fe7823bd73e8e6bc
RTC: 125037
CQ:SW305518
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19306
Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Michael D. Pardeik <pardeik@us.ibm.com>
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Tested-by: Michael Baiocchi <baiocchi@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19375
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: Jenkins OP HW
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/mc_config/mc_config.H')
-rw-r--r-- | src/usr/hwpf/hwp/mc_config/mc_config.H | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/mc_config/mc_config.H b/src/usr/hwpf/hwp/mc_config/mc_config.H index 12b25b36c..8e53cdbd1 100644 --- a/src/usr/hwpf/hwp/mc_config/mc_config.H +++ b/src/usr/hwpf/hwp/mc_config/mc_config.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -180,6 +182,32 @@ void* call_mss_eff_config( void * io_pArgs ); void* call_mss_attr_update( void *io_pArgs ); +/** + * @brief Enum specifying what attributes should be used to set the + * memory _EFF_CONFIG attributes + * + */ +enum EFF_CONFIG_ATTRIBUTES_BASE +{ + DEFAULT = 0x00, ///< Use System Defaults + POST_DRAM_INIT = 0x01, ///< Use POST_DRAM_INIT attributes if non-zero +}; + + +/** + * @brief Helper function to set memory _EFF_CONFIG attributes for HWPs + * + * param[in] i_base - Determines base of EFF_CONFIG attributes values + * + * param[out] o_post_dram_inits_found - if i_base==POST_DRAM_INIT and + * POST_DRAM_INIT attributes were + * found return TRUE; + * else, return FALSE + */ +void set_eff_config_attrs_helper( const EFF_CONFIG_ATTRIBUTES_BASE i_base, + bool & o_post_dram_inits_found); + + }; // end namespace #endif |