diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2017-03-24 10:54:19 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2017-03-29 16:58:18 -0400 |
commit | 7ffea8c8d684c95c3d3f0afb052f6566ddbf0523 (patch) | |
tree | 0ff2844e59d1480842eff87eb58942292db0bd15 /src | |
parent | 2972bebc278bc0d29617a5d62ae34cbb7a6a7f3e (diff) | |
download | talos-hostboot-7ffea8c8d684c95c3d3f0afb052f6566ddbf0523.tar.gz talos-hostboot-7ffea8c8d684c95c3d3f0afb052f6566ddbf0523.zip |
PRD: add runtime support to write OCC FIR data
Change-Id: Ieaa7e82b530d298bc028765e41a7a63cfba49ad4
RTC: 124683
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36726
Reviewed-by: Caleb N.Palmer <cnpalmer@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/1730
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/diag/prdf/prdf_hb_only.mk | 4 | ||||
-rw-r--r-- | src/usr/occ/occ_common.C | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/diag/prdf/prdf_hb_only.mk b/src/usr/diag/prdf/prdf_hb_only.mk index cdea75793..39f7eec4c 100644 --- a/src/usr/diag/prdf/prdf_hb_only.mk +++ b/src/usr/diag/prdf/prdf_hb_only.mk @@ -74,6 +74,9 @@ prd_obj += prdfMain.o # framework prd_obj += prdfDumpResolution.o +# occ_firdata/ +prd_obj += $(if $(CONFIG_ENABLE_CHECKSTOP_ANALYSIS), prdfWriteHomerFirData.o) + # plat/ prd_obj += prdfPlatServices.o prd_obj += prdfRasServices.o @@ -96,7 +99,6 @@ prd_obj += prdfMfgSync.o # occ_firdata/ prd_obj += $(if $(CONFIG_ENABLE_CHECKSTOP_ANALYSIS), prdfPnorFirDataReader.o) prd_obj += $(if $(CONFIG_ENABLE_CHECKSTOP_ANALYSIS), prdfReadPnorFirData.o) -prd_obj += $(if $(CONFIG_ENABLE_CHECKSTOP_ANALYSIS), prdfWriteHomerFirData.o) # plat/ prd_obj += prdfPlatServices_ipl.o diff --git a/src/usr/occ/occ_common.C b/src/usr/occ/occ_common.C index 81c5d7ccc..a6c45313a 100644 --- a/src/usr/occ/occ_common.C +++ b/src/usr/occ/occ_common.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2016 */ +/* Contributors Listed Below - COPYRIGHT 2013,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -179,7 +179,7 @@ namespace HBOCC size_t l_startOffset = 0; // offset to start of the section // offset to length of the section - size_t l_offsetToLength = OCC_OFFSET_LENGTH; + size_t l_offsetToLength = OCC_OFFSET_LENGTH; // Get length of OCC bootloader uint32_t *ptrToLength = (uint32_t *)(l_occLid + l_offsetToLength); @@ -298,9 +298,7 @@ namespace HBOCC { config_data->firMaster = IS_FIR_MASTER; - // TODO: RTC 124683 The ability to write the HOMER data - // is currently not available at runtime. -#ifndef __HOSTBOOT_RUNTIME +#if !defined(__HOSTBOOT_RUNTIME) || defined(CONFIG_HBRT_PRD) l_errl = PRDF::writeHomerFirData( config_data->firdataConfig, sizeof(config_data->firdataConfig) ); #endif |