diff options
| author | Vitaly Marin <mvitaly@us.ibm.com> | 2016-08-28 15:52:35 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-09-18 13:13:11 -0400 |
| commit | 83efa306d8460f901459b936c341781633c7b507 (patch) | |
| tree | 86a6b613687f1cbc8e44947dbb42e41aad9084e9 /src/include/usr/devicefw | |
| parent | ebeb735ad3227137996822e03cf1108b549b8b69 (diff) | |
| download | talos-hostboot-83efa306d8460f901459b936c341781633c7b507.tar.gz talos-hostboot-83efa306d8460f901459b936c341781633c7b507.zip | |
Added support for 'Put Ring from Image' command on HB for SBE
Change-Id: I4930633f87bdb61acb19e01f17a8006277f7868d
RTC:132654
CMVC-Prereq: 1004971
CMVC-Prereq: 1005024
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28887
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Vitaly Marin <mvitaly@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/devicefw')
| -rw-r--r-- | src/include/usr/devicefw/userif.H | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index 59e812d8a..50a6aa2e9 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -46,6 +46,7 @@ namespace DeviceFW /** @enum AccessType * @brief Access types for accessing a hardware device. */ + enum AccessType { SCOM = 0, @@ -266,11 +267,28 @@ namespace DeviceFW static_cast<uint64_t>(( i_ringlen )),\ static_cast<uint64_t>(( i_flag )) + /** + * Construct the device addressing parameters for the SCAN device ops. + * @param[in] i_ringID - ring ID + * @param[in] i_ringMode - Ring Mode + * + * @param[in] i_flag - flags + * PUT_RING_FROM_IMAGE_COMMAND - is for Put Ring from Image command + */ + + #define PUT_RING_FROM_IMAGE_COMMAND (0xFFFFFFFFFFFFFFFF) + #define DEVICE_SCAN_SBE_ADDRESS( i_ringID, i_ringMode, i_flag )\ + DeviceFW::SCAN, static_cast<uint64_t>(( i_ringID )),\ + static_cast<uint64_t>(( i_ringMode )),\ + static_cast<uint64_t>(( i_flag )),\ + static_cast<uint64_t>(PUT_RING_FROM_IMAGE_COMMAND) + /** * Construct the device addressing parameters for the LPC device ops. * @param[in] i_trans_type - LPC transaction type. * @param[in] i_address - LPC address to operate on. * Flag options are located in: src/include/usr/lpc/lpcif.H + * */ #define DEVICE_LPC_ADDRESS( i_trans_type, i_address )\ DeviceFW::LPC, static_cast<uint64_t>(( i_trans_type )),\ |

