diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2017-10-09 06:20:29 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2017-11-06 11:20:30 -0500 |
commit | 97f6525326d7ad9fa099be2b503a971c9325f503 (patch) | |
tree | ca00507985ae3805e22b672c82c6f94bbca183c1 /src/include/usr/isteps | |
parent | cb260675de9f4f9025e0fc99687f6776e5f1bbac (diff) | |
download | talos-hostboot-97f6525326d7ad9fa099be2b503a971c9325f503.tar.gz talos-hostboot-97f6525326d7ad9fa099be2b503a971c9325f503.zip |
Control Host reboots for manufacturing
In a manufacturing environment it is desired to reboot once
(and only once) to get the FIRDATA analysis on checkstop.
This commit adds functionality to control the auto reboot policy
on the BMC. It then "remembers" the state using the HB VOLATILE
PNOR partition to enable reboots when in MFG mode.
Note that when in this mode, any reboot (even from host) will
terminate the boot.
Change-Id: If5ce133b59e10c659d7024d1ae08a40988e35190
RTC:180772
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48116
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/include/usr/isteps')
-rw-r--r-- | src/include/usr/isteps/istep_reasoncodes.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/usr/isteps/istep_reasoncodes.H b/src/include/usr/isteps/istep_reasoncodes.H index cd6f47bdc..5895c11ee 100644 --- a/src/include/usr/isteps/istep_reasoncodes.H +++ b/src/include/usr/isteps/istep_reasoncodes.H @@ -62,6 +62,7 @@ namespace ISTEP MOD_SBE_PERFORM_UPDATE_CHECK = 0x1A, MOD_SBE_GET_FFDC_HANDLER = 0x1C, MOD_SET_IPL_PARMS = 0x1D, + MOD_OCC_XSTOP_HANDLER = 0x1E, }; /** @@ -123,6 +124,7 @@ namespace ISTEP RC_NO_FFDC_RETURNED = ISTEP_COMP_ID | 0x33, RC_RETURNED_FFDC = ISTEP_COMP_ID | 0x34, RC_P9N_DD1_NOT_SUPPORTED = ISTEP_COMP_ID | 0x35, + RC_PREVENT_REBOOT_IN_MFG_TERM_MODE = ISTEP_COMP_ID | 0x36, }; }; |