summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvin Wang <wangat@tw.ibm.com>2018-10-31 19:48:46 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-02-15 14:36:48 -0600
commit5cc4d102d8c829ea2b2b5bcd04e1cbcbacfa050c (patch)
treec265c18390ed1be43d7f7c3e1aec02e508e7c70a
parentb60f5da2bde209c613502b848eb3e67ceea02219 (diff)
downloadtalos-hostboot-5cc4d102d8c829ea2b2b5bcd04e1cbcbacfa050c.tar.gz
talos-hostboot-5cc4d102d8c829ea2b2b5bcd04e1cbcbacfa050c.zip
Update setup_fw_boot_config() to read out actual values from attributes
Change-Id: I8240116e74612023ea4e827e1812318fa0931837 Original-Change-Id: I2574f01fceb79fb0d3234010581aab92d48ce409 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68248 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: JEREMY R. NEATON <jrneaton@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71933 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
-rw-r--r--src/import/chips/ocmb/explorer/procedures/xml/attribute_info/exp_omi_train.xml146
1 files changed, 146 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/xml/attribute_info/exp_omi_train.xml b/src/import/chips/ocmb/explorer/procedures/xml/attribute_info/exp_omi_train.xml
new file mode 100644
index 000000000..f542140d2
--- /dev/null
+++ b/src/import/chips/ocmb/explorer/procedures/xml/attribute_info/exp_omi_train.xml
@@ -0,0 +1,146 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: src/import/chips/ocmb/explorer/procedures/xml/attribute_info/exp_omi_train.xml $ -->
+<!-- -->
+<!-- OpenPOWER HostBoot Project -->
+<!-- -->
+<!-- Contributors Listed Below - COPYRIGHT 2018 -->
+<!-- [+] 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. -->
+<!-- You may obtain a copy of the License at -->
+<!-- -->
+<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
+<!-- -->
+<!-- Unless required by applicable law or agreed to in writing, software -->
+<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
+<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
+<!-- implied. See the License for the specific language governing -->
+<!-- permissions and limitations under the License. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<!-- -->
+<!-- @file exp_omi_train.xml -->
+<!-- @brief Attribute xml for exp_omi_train -->
+<!-- -->
+<!-- *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com> -->
+<!-- *HWP HWP Backup: Stephen Glancy <sglancy@us.ibm.com> -->
+<!-- *HWP FW Owner: Daniel Crowell <dcrowell@us.ibm.com> -->
+<!-- *HWP Team: Memory -->
+<!-- *HWP Level: 2 -->
+<!-- *HWP Consumed by: FSP:HB -->
+<!-- -->
+
+<attributes>
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_FW_MODE</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ Indicates the FW MODE of the OCMB
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ NORMAL_MODE = 0,
+ MANUFACTURING_MODE = 1
+ </enum>
+ <default>0</default>
+ <writeable/>
+ </attribute>
+
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_OPENCAPI_LOOPBACK_TEST</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ Indicates wheather to enable the loopback test
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ NO_LOOPBACK_TESTING = 0,
+ PERFORM_LOOPBACK_TESTING = 1
+ </enum>
+ <default>0</default>
+ <writeable/>
+ </attribute>
+
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_TRANSPORT_LAYER</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ The transport layer of OCMB
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ OPEN_CAPI = 0,
+ I2C = 1,
+ JTAG = 2
+ </enum>
+ <default>0</default>
+ <writeable/>
+ </attribute>
+
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_DL_LAYER_BOOT_MODE</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ Indicates whether the OpenCAPI DL boots immediately
+ or waits for host command.
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ BOOT_RIGHT_AFTER_CONFIG = 0,
+ WAIT_FOR_HOST_CMD = 1
+ </enum>
+ <default>0</default>
+ <writeable/>
+ </attribute>
+
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_BOOT_MODE</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ Indicates the full boot or step-by-step boot
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ FULL_BOOT = 0,
+ STEP_BY_STEP_BOOT = 1
+ </enum>
+ <default>0</default>
+ <writeable/>
+ </attribute>
+
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_LANE_MODE</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ The lane width of the OpenCapi channel
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ LANE_8= 1,
+ LANE_4= 2
+ </enum>
+ <default>1</default>
+ <writeable/>
+ </attribute>
+
+ <attribute>
+ <id>ATTR_MSS_OCMB_EXP_BOOT_CONFIG_SERDES_FREQUENCY</id>
+ <targetType>TARGET_TYPE_OCMB_CHIP</targetType>
+ <description>
+ The frequency of the OpenCAPI
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ SERDES_21_33GBPS = 1,
+ SERDES_23_46GBPS = 2,
+ SERDES_25_60GBPS = 3
+ </enum>
+ <default>3</default>
+ <writeable/>
+ </attribute>
+
+</attributes>
OpenPOWER on IntegriCloud