Skip to content

Commit

Permalink
Add L1 procedures for p9a and makefiles
Browse files Browse the repository at this point in the history
Change-Id: I87317508f31a2efecaffcf6aed05c0b76579dfd6
Original-Change-Id: I9f56a57f85a1b970bb17adde474ff6f89dc3c19d
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69155
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72088
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
  • Loading branch information
aamarin authored and crgeddes committed Feb 19, 2019
1 parent dc56cd6 commit c20c2b8
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq_system.C
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,26 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */

///
/// @file p9a_mss_freq_system.C
/// @brief Matches OMI freq with DDR freq
///
// *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com>
// *HWP HWP Backup: Louis Stermole <stermole@us.ibm.com>
// *HWP Team: Memory
// *HWP Level: 1
// *HWP Consumed by: FSP:HB

// fapi2
#include <p9a_mss_freq_system.H>

///
/// @brief Matches OMI freq with DDR freq
/// @param[in] i_target controller (e.g. MC)
/// @return FAPI2_RC_SUCCESS iff ok
///
fapi2::ReturnCode p9a_mss_freq_system( const fapi2::Target<fapi2::TARGET_TYPE_MC>& i_target )
{
return fapi2::FAPI2_RC_SUCCESS;
}
32 changes: 32 additions & 0 deletions src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq_system.H
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,35 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */

///
/// @file p9a_mss_freq_system.H
/// @brief Matches OMI freq with DDR freq
///
// *HWP HWP Owner: Louis Stermole <stermole@us.ibm.com>
// *HWP HWP Backup: Andre A. Marin <aamarin@us.ibm.com>
// *HWP Team: Memory
// *HWP Level: 1
// *HWP Consumed by: FSP:HB

#ifndef P9A_MSS_FREQ_SYSTEM_H_
#define P9A_MSS_FREQ_SYSTEM_H_

#include <fapi2.H>
#include <vector>

typedef fapi2::ReturnCode (*p9a_mss_freq_system_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_MC>&);

extern "C"
{

///
/// @brief Matches OMI freq with DDR freq
/// @param[in] i_target controller (e.g. MC)
/// @return FAPI2_RC_SUCCESS iff ok
///
fapi2::ReturnCode p9a_mss_freq_system(const fapi2::Target<fapi2::TARGET_TYPE_MC>& i_target);

}

#endif
7 changes: 7 additions & 0 deletions src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG

# Include the macros and things for MSS procedures
-include 00p9a_common.mk

PROCEDURE=p9a_mss_volt
$(eval $(call ADD_MEMORY_INCDIRS,$(PROCEDURE)))
$(call BUILD_PROCEDURE)

0 comments on commit c20c2b8

Please sign in to comment.