diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2016-08-08 11:06:31 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-29 11:54:59 -0400 |
commit | f38f03fd5c0b267916d1f48a87afff67ad9ab3ed (patch) | |
tree | 3434b5a811d95f03b9f7568052fdab97db3c31f3 /src/include/usr/util | |
parent | a24586804c3bdf9506c8af79e1adc69d0b478366 (diff) | |
download | talos-hostboot-f38f03fd5c0b267916d1f48a87afff67ad9ab3ed.tar.gz talos-hostboot-f38f03fd5c0b267916d1f48a87afff67ad9ab3ed.zip |
Apply BOOT_FLAGS onto slave sbe
Need to get the BOOT_FLAGS (scratch3) bits set into the slave
sbe
Also consolidated other code to use a single set of interfaces
and structures.
Change-Id: I670acb5cee1ab4fcebaa7be72aa3b986598873d3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28003
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/util')
-rw-r--r-- | src/include/usr/util/utilmbox_scratch.H | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/include/usr/util/utilmbox_scratch.H b/src/include/usr/util/utilmbox_scratch.H index b995da557..dd9584c18 100644 --- a/src/include/usr/util/utilmbox_scratch.H +++ b/src/include/usr/util/utilmbox_scratch.H @@ -61,10 +61,6 @@ namespace Util MSG_TYPE_TRACE = 0x00, MSG_TYPE_ATTRDUMP = 0x01, - - ISTEP_CONFIG_BIT = 0x8000000000000000, - MPIPL_CONFIG_BIT = 0x2000000000000000, - }; /** @@ -85,11 +81,11 @@ namespace Util * These scom addresses are always accessible and any errors are commited * internally * @param[in] i_addr Scom address of mailbox reg to write - * @param[in] i_data Data to write to mailbox (only 0:31 are valid) + * @param[in] i_data Data to write to mailbox * * @return none */ - void writeScratchReg(uint64_t i_addr, uint64_t i_data); + void writeScratchReg(uint64_t i_addr, uint32_t i_data); /** * @brief This function reads data to mailbox scratch reg @@ -97,9 +93,9 @@ namespace Util * internally * @param[in] i_addr Scom address of mailbox reg to read * - * @return Data in mailbox scratch reg (only 0:31 are valid) + * @return Data in mailbox scratch reg */ - uint64_t readScratchReg(uint64_t i_addr); + uint32_t readScratchReg(uint64_t i_addr); }; #endif //UTILMEM_H |