diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2016-01-26 10:08:02 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-03-02 16:05:33 -0500 |
commit | 7f0cc3f76d36e95aced0aa5bd58af0539641609c (patch) | |
tree | 7a1be98150c226ebb394f4d969ea068d32c56e08 /src | |
parent | bce832fc3c7376486e5f9233d0525d52e988b29d (diff) | |
download | talos-hostboot-7f0cc3f76d36e95aced0aa5bd58af0539641609c.tar.gz talos-hostboot-7f0cc3f76d36e95aced0aa5bd58af0539641609c.zip |
p9_xip_customize HWP - L2
- Added all the mailbox attributes to the required xmls
- HWP is able to customize the image with new attribute
values based on the environment
RTC:138900
Change-Id: Idfadd53a747a2cab90d2b977bce178ba7e0c170a
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23664
Tested-by: Jenkins Server
Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21548
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml | 274 |
1 files changed, 233 insertions, 41 deletions
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 68f8f8d8c..ea7b17f12 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 @@ -21,29 +21,42 @@ <!-- XML file specifying attributes used by HW Procedures. Attributes are taken from model pervasive --> <!--pervasive_attributes.xml--> <attributes> + <attribute> - <id>ATTR_BACKUP_SEEPROM_SELECT</id> + <id>ATTR_I2C_BUS_DIV_REF</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Set with Primary SEEPROM</description> + <description>Ref clock I2C bus divider consumed by code running out of OTPROM</description> + <valueType>uint32</valueType> + <persistRuntime/> + <platInit/> + <writeable/> +</attribute> + +<attribute> + <id>ATTR_FUNCTIONAL_EQ_EC_VALID</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates the validitiy of FW functional EQ/EQ register</description> <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> <persistRuntime/> <platInit/> + <writeable/> </attribute> <attribute> - <id>ATTR_BOOT_FLAGS</id> + <id>ATTR_EQ_GARD</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Switch to using a flag to indicate SEEPROM side SBE</description> - <valueType>uint32</valueType> + <description>Capturing EQ Gard value</description> + <valueType>uint8</valueType> <persistRuntime/> <platInit/> <writeable/> </attribute> <attribute> - <id>ATTR_BOOT_FREQ</id> + <id>ATTR_EC_GARD</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>EQ boot frequency</description> + <description>Capturing EC Gard Value</description> <valueType>uint32</valueType> <persistRuntime/> <platInit/> @@ -51,7 +64,101 @@ </attribute> <attribute> - <id>ATTR_BOOT_FMULT</id> + <id>ATTR_I2C_BUS_DIV_REF_VALID</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates the validity of ref clock I2C bus divider consumed by + code running out of OTPROM</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_FW_MODE_FLAGS_VALID</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates the validity of FW flags. Ex: ISTEP_MODE, + SBE_RUNTIME_MODE, MPIPL_MODE, SP_MODE, SBE_FFDC_ENABLE</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_ISTEP_MODE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates istep IPL</description> + <valueType>uint8</valueType> + <enum>NON_IPL = 0x0,IPL = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_SBE_RUNTIME_MODE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates that SBE should go directly to runtime functionality</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_IS_SP_MODE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates whether we are connected to FSP or not</description> + <valueType>uint8</valueType> + <enum>FSP_LESS = 0x0,FSP = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_SBE_FFDC_ENABLE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates whether SBE should collect FFDC</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_SBE_INTERNAL_FFDC_ENABLE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates that the SBE should send back internal FFDC on any + chipOp failure response</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_BOOT_FREQUENCY_VALID</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicates if BOOT_FREQ_MULT and NEST_PLL_BUCKET + are valid</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_NEST_PLL_BUCKET</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Select Nest I2C and pll setting from one of the supported frequencies</description> + <valueType>uint8</valueType> + <persistRuntime/> + <platInit/> + <writeable/> +</attribute> + +<attribute> + <id>ATTR_BOOT_FREQ_MULT</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> <description>EQ boot frequency multiplier</description> <valueType>uint16</valueType> @@ -61,61 +168,83 @@ </attribute> <attribute> - <id>ATTR_BRANCH_PIBMEM_ADDR</id> + <id>ATTR_HWP_CONTROL_FLAGS_VALID</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description></description> + <description>Indicates if HWP control flags + are valid</description> <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> <persistRuntime/> <platInit/> </attribute> <attribute> - <id>ATTR_CHIP_POS</id> + <id>ATTR_SYS_FORCE_ALL_CORES</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Indicate the chip position</description> + <description>Indicates that SBE should init all cores</description> <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> <persistRuntime/> <platInit/> - <writeable/> </attribute> <attribute> - <id>ATTR_CHIP_REGIONS_TO_ENABLE</id> + <id>ATTR_RISK_LEVEL</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description></description> - <valueType>uint32</valueType> + <description>HWP/Init "risk level" enabled. Used by HB to pass to HB driven + HWPs</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> </attribute> <attribute> - <id>ATTR_DEVICE_ID</id> + <id>ATTR_DISABLE_HBBL_VECTORS</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description></description> + <description>BootLoader HWP flag to not place 12K exception vectors. + This flag is only applicable when security is disabled.</description> <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> <persistRuntime/> <platInit/> </attribute> <attribute> - <id>ATTR_ECID</id> + <id>ATTR_CHIP_SELECTION_VALID</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description></description> - <valueType>uint64</valueType> + <description>Indicates that master/slave, node/chip selection attributes + are valid</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> </attribute> <attribute> - <id>ATTR_EC_GARD</id> + <id>ATTR_CHIP_SELECTION</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Capturing EC Gard Value</description> - <valueType>uint32</valueType> + <description>master/slave bit</description> + <valueType>uint8</valueType> + <enum>MASTER = 0x0,SLAVE = 0x1</enum> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_NODE_POS</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Indicate the node position in FSP based systems (unused in Spless systems)</description> + <valueType>uint8</valueType> <persistRuntime/> <platInit/> <writeable/> </attribute> <attribute> - <id>ATTR_EQ_GARD</id> + <id>ATTR_CHIP_POS</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Capturing EQ Gard value</description> + <description>Indicate the chip position</description> <valueType>uint8</valueType> <persistRuntime/> <platInit/> @@ -123,18 +252,40 @@ </attribute> <attribute> - <id>ATTR_I2C_BUS_DIV_NEST</id> + <id>ATTR_SCRATCH6_VALID</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>I2C Bus speed based on nest freq, ref clock</description> + <description>Indicate if scratch reg6 bits are valid</description> <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> <persistRuntime/> <platInit/> + <writeable/> </attribute> <attribute> - <id>ATTR_I2C_BUS_DIV_REF</id> + <id>ATTR_SCRATCH7_VALID</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Ref clock I2C bus divider consumed by code running out of OTPROM</description> + <description>Indicate if scratch reg7 bits are valid</description> + <valueType>uint8</valueType> + <enum>FALSE = 0x0,TRUE = 0x1</enum> + <persistRuntime/> + <platInit/> + <writeable/> +</attribute> + +<attribute> + <id>ATTR_BACKUP_SEEPROM_SELECT</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Set with Primary SEEPROM</description> + <valueType>uint8</valueType> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_BOOT_FLAGS</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>Switch to using a flag to indicate SEEPROM side SBE</description> <valueType>uint32</valueType> <persistRuntime/> <platInit/> @@ -142,7 +293,27 @@ </attribute> <attribute> - <id>ATTR_LEN_OF_SEEPROM_DATA</id> + <id>ATTR_BOOT_FREQ</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>EQ boot frequency</description> + <valueType>uint32</valueType> + <persistRuntime/> + <platInit/> + <writeable/> +</attribute> + +<attribute> + <id>ATTR_BOOT_FMULT</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>EQ boot frequency multiplier</description> + <valueType>uint16</valueType> + <persistRuntime/> + <platInit/> + <writeable/> +</attribute> + +<attribute> + <id>ATTR_BRANCH_PIBMEM_ADDR</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> <description></description> <valueType>uint8</valueType> @@ -151,7 +322,14 @@ </attribute> <attribute> - <id>ATTR_MB_BIT_RATE_DIVISOR_PLL</id> + <id>ATTR_CHIP_REGIONS_TO_ENABLE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description></description> + <valueType>uint32</valueType> +</attribute> + +<attribute> + <id>ATTR_DEVICE_ID</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> <description></description> <valueType>uint8</valueType> @@ -160,41 +338,55 @@ </attribute> <attribute> - <id>ATTR_MB_BIT_RATE_DIVISOR_REFCLK</id> + <id>ATTR_ECID</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> <description></description> + <valueType>uint64</valueType> +</attribute> + +<attribute> + <id>ATTR_I2C_BUS_DIV_NEST</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>I2C Bus speed based on nest freq, ref clock</description> <valueType>uint8</valueType> <persistRuntime/> <platInit/> </attribute> <attribute> - <id>ATTR_MC_SYNC_MODE</id> + <id>ATTR_LEN_OF_SEEPROM_DATA</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>MC mesh to use Nest mesh or not</description> + <description></description> <valueType>uint8</valueType> <persistRuntime/> <platInit/> </attribute> <attribute> - <id>ATTR_NEST_PLL_BUCKET</id> + <id>ATTR_MB_BIT_RATE_DIVISOR_PLL</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Select Nest I2C and pll setting from one of the supported frequencies</description> + <description></description> <valueType>uint8</valueType> <persistRuntime/> <platInit/> - <writeable/> </attribute> <attribute> - <id>ATTR_NODE_POS</id> + <id>ATTR_MB_BIT_RATE_DIVISOR_REFCLK</id> <targetType>TARGET_TYPE_PROC_CHIP</targetType> - <description>Indicate the node position in FSP based systems (unused in Spless systems)</description> + <description></description> + <valueType>uint8</valueType> + <persistRuntime/> + <platInit/> +</attribute> + +<attribute> + <id>ATTR_MC_SYNC_MODE</id> + <targetType>TARGET_TYPE_PROC_CHIP</targetType> + <description>MC mesh to use Nest mesh or not</description> <valueType>uint8</valueType> <persistRuntime/> <platInit/> - <writeable/> </attribute> <attribute> |