From 387febcf8190024fc6217683df889ef5dea3d23c Mon Sep 17 00:00:00 2001 From: Caleb Palmer Date: Thu, 24 Aug 2017 16:03:59 -0500 Subject: PRD: Update restoreDramRepairs for P9 Change-Id: I3b2a75fdaa88017dc221a337dd39759e03e82337 RTC: 178682 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45149 Tested-by: Jenkins Server Reviewed-by: Brian J. Stegmiller Reviewed-by: Zane C. Shelley Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48346 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins --- src/include/usr/diag/prdf/prdfMain_ipl.H | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/usr/diag/prdf/prdfMain_ipl.H b/src/include/usr/diag/prdf/prdfMain_ipl.H index 96971a33d..933a3d47f 100644 --- a/src/include/usr/diag/prdf/prdfMain_ipl.H +++ b/src/include/usr/diag/prdf/prdfMain_ipl.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2015 */ +/* Contributors Listed Below - COPYRIGHT 2014,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -40,13 +40,20 @@ namespace PRDF { +/** + * @brief Initialize PRD system model and data (No System Lock) + * @return Error log if error occurs + */ +extern errlHndl_t noLock_initialize(); + /** * @brief Restores hardware DRAM repairs to reflect what is stored in VPD. - * @param i_mba An MBA target. + * @param i_trgt An MBA or MCA target. * @return Non-SUCCESS if conditions are such that a callout had to be made, * SUCCESS otherwise. */ -extern int32_t restoreDramRepairs( const TARGETING::TargetHandle_t i_mba ); +template +extern uint32_t restoreDramRepairs( const TARGETING::TargetHandle_t i_trgt ); /** * @brief Analyzes IPL CE statistics during MNFG IPL -- cgit v1.2.1