diff options
author | mbroyles <mbroyles@us.ibm.com> | 2016-12-13 13:44:23 -0600 |
---|---|---|
committer | Martha Broyles <mbroyles@us.ibm.com> | 2016-12-15 15:00:48 -0500 |
commit | e350693c96096f1e607423c974082bf3d0b2a7ae (patch) | |
tree | ee043c3573595eb2880119d5ef15fe46d6ed548a /src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c | |
parent | 48173d1181eb89c7efed5d6ffd30c8e89666aee5 (diff) | |
download | talos-occ-e350693c96096f1e607423c974082bf3d0b2a7ae.tar.gz talos-occ-e350693c96096f1e607423c974082bf3d0b2a7ae.zip |
command handler cleanup and reset prep support
Support power off option on reset prep command
RTC: 163360
Change-Id: I433584308773d4a5d2c6543514d880ce7e10c6ad
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33796
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c')
-rwxr-xr-x | src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c b/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c index 3dda966..b0d4cd2 100755 --- a/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c +++ b/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c @@ -34,7 +34,6 @@ #include "state.h" #include "cmdh_fsp_cmds.h" #include "cmdh_dbug_cmd.h" -//#include "gpsm.h" #include "proc_pstate.h" #include <amec_data.h> #include "amec_amester.h" @@ -2198,33 +2197,6 @@ errlHndl_t DATA_store_cnfgdata (const cmdh_fsp_cmd_t * i_cmd_ptr, } break; - case DATA_FORMAT_WOF_CORE_FREQ: - // TODO: RTC 130216 - WOF - break; - - case DATA_FORMAT_WOF_VRM_EFF: - // TODO: RTC 130216 - WOF - break; - - case DATA_FORMAT_CLEAR_ALL: - // Make sure not in ACTIVE - if(CURRENT_STATE() != OCC_STATE_ACTIVE) - { - // Clear all configuration data except for any data needed to support observation - CMDH_TRAC_INFO("Clear all active configuration data"); - G_data_cnfg->data_mask &= SMGR_VALIDATE_DATA_OBSERVATION_MASK; - - // Clear the frequencies config data - memset(&G_sysConfigData.sys_mode_freq.table[0], 0, sizeof(G_sysConfigData.sys_mode_freq.table)); - - } - else - { - CMDH_TRAC_ERR("Failed to clear all active configuration data because we are in ACTIVE state"); - l_rc = ERRL_RC_INVALID_STATE; - } - break; - default: // Build Error Response packet, we are calling this here // to generate the error log, it will get called again, below but |