diff options
author | Santosh <sbalasub@in.ibm.com> | 2016-09-15 12:32:02 -0400 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2016-10-05 15:51:11 -0400 |
commit | b7e03a9893d1ef7349078dd38167b51308da3aca (patch) | |
tree | 3f1bdb45b7d5bb5232ce769e617cb9bb4ae460f5 /src | |
parent | 7849bdd4dd2c4d912a27f99ef543665d3bf873ce (diff) | |
download | talos-hostboot-b7e03a9893d1ef7349078dd38167b51308da3aca.tar.gz talos-hostboot-b7e03a9893d1ef7349078dd38167b51308da3aca.zip |
L2 version - p9_sbe_sequence_drtm
Change-Id: Ic1b277304f0ce6057f876be4824626974d32acd0
RTC:156477
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29780
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Abhishek Agarwal <abagarw8@in.ibm.com>
Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29819
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src')
3 files changed, 32 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H index fbb0cf9b1..6a0f9f54d 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H @@ -27286,6 +27286,26 @@ fapi_try_exit: return fapi2::current_err; } +/// +/// @brief ATTR_SBE_SYS_CONFIG getter +/// @param[out] uint64_t& reference to store the value +/// @note Generated by gen_accessors.pl generateParameters (SYSTEM) +/// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK +/// @note System Configurtion information - 1 indicates a chip +/// present +/// +inline fapi2::ReturnCode sbe_sys_config(uint64_t& o_value) +{ + + FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_SBE_SYS_CONFIG, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(), o_value) ); + return fapi2::current_err; + +fapi_try_exit: + FAPI_ERR("failed accessing ATTR_SBE_SYS_CONFIG: 0x%lx (system target)", + uint64_t(fapi2::current_err)); + return fapi2::current_err; +} + } diff --git a/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml index 22182288a..3457ec08a 100644 --- a/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml +++ b/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml @@ -622,4 +622,13 @@ <persistRuntime/> </attribute> +<attribute> + <id>ATTR_SBE_SYS_CONFIG</id> + <targetType>TARGET_TYPE_SYSTEM</targetType> + <description>System Configurtion information - 1 indicates a chip present</description> + <valueType>uint64</valueType> + <platInit/> +</attribute> + + </attributes> diff --git a/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml b/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml index 60ac1e843..9d1e8fd15 100644 --- a/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml +++ b/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml @@ -78,6 +78,9 @@ <id>ATTR_SBE_IMAGE_MINIMUM_VALID_ECS</id> <default>3</default> </attribute> + <attribute> + <id>ATTR_SBE_SYS_CONFIG</id> + </attribute> <!-- ===================================================================== End of temporary definitions |