diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2016-06-23 11:23:49 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-09-03 17:12:56 -0400 |
commit | 6d2eeb4ee3c422de6075052b89a651bf625d45f2 (patch) | |
tree | 16db0fecf2a02427ff63af5cdfbbbe9b285dffe6 /src/usr/i2c/errlud_i2c.C | |
parent | 945d73f8dd0053c2a9929d4adabc46b5f3edd819 (diff) | |
download | talos-hostboot-6d2eeb4ee3c422de6075052b89a651bf625d45f2.tar.gz talos-hostboot-6d2eeb4ee3c422de6075052b89a651bf625d45f2.zip |
Changes for P9 SBE - Enable/Remove Istep calls/processing
3) Clean up TODO's in isteps 08, 09, and 10
In istep08 enable resolveProcessorSbeSeeproms call from
call_host_slave_sbe_config.C and remove findSBEInPnor call and other
processing from call_proc_check_slave_sbe_seeprom_complete.C.
In istep09 remove updateProcessorSbeSeeproms call and nest frequency
processing from call_fabric_erepair.C.
In istep10 enable updateProcessorSbeSeeproms call from
call_host_slave_sbe_update.C and enable loop to set use of xscom
in call_proc_build_smp.C.
Change-Id: I79237f530738e3088d1b3aedafdc6ad1139d21a8
RTC: 156597
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26801
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/errlud_i2c.C')
-rw-r--r-- | src/usr/i2c/errlud_i2c.C | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/usr/i2c/errlud_i2c.C b/src/usr/i2c/errlud_i2c.C index 37787c789..0cdf97808 100644 --- a/src/usr/i2c/errlud_i2c.C +++ b/src/usr/i2c/errlud_i2c.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2016 */ +/* [+] 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. */ @@ -177,7 +179,7 @@ UdEepromParms::UdEepromParms( uint8_t i_opType, { // Set up Ud instance variables iv_CompId = EEPROM_COMP_ID; - iv_Version = 1; + iv_Version = 2; iv_SubSection = EEPROM_UDT_PARAMETERS; //***** Memory Layout ***** @@ -193,6 +195,7 @@ UdEepromParms::UdEepromParms( uint8_t i_opType, // 1 byte : Address Size // 8 bytes : Write Page Size // 8 bytes : Device Size (in KB) + // 8 bytes : Chip Count // 8 bytes : Write Cycle Time char * l_pBuf = reinterpret_cast<char *>( @@ -200,7 +203,7 @@ UdEepromParms::UdEepromParms( uint8_t i_opType, +sizeof(uint32_t) +sizeof(uint64_t)*6 +sizeof(uint8_t) - +sizeof(uint64_t)*3 )); + +sizeof(uint64_t)*4 )); uint64_t tmp64 = 0; uint32_t tmp32 = 0; @@ -265,6 +268,10 @@ UdEepromParms::UdEepromParms( uint8_t i_opType, memcpy(l_pBuf, &tmp64, sizeof(tmp64)); l_pBuf += sizeof(tmp64); + tmp64 = i_i2cInfo.chipCount; + memcpy(l_pBuf, &tmp64, sizeof(tmp64)); + l_pBuf += sizeof(tmp64); + tmp64 = i_i2cInfo.writeCycleTime; memcpy(l_pBuf, &tmp64, sizeof(tmp64)); l_pBuf += sizeof(tmp64); |