Skip to content

Commit

Permalink
Added Admin cmd firmware activate to framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
trentmeester committed Jun 28, 2012
1 parent 7362703 commit f006239
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cmds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ SRC = \
flush.cpp \
getLogPage.cpp \
formatNVM.cpp \
fwActivate.cpp \
datasetMgmt.cpp

.SUFFIXES: .cpp
Expand Down
Binary file modified Doc/testPlan.ods
Binary file not shown.
3 changes: 3 additions & 0 deletions Singletons/objRsrc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "../Cmds/getFeatures.h"
#include "../Cmds/setFeatures.h"
#include "../Cmds/getLogPage.h"
#include "../Cmds/fwActivate.h"
#include "../Cmds/formatNVM.h"
#include "../Cmds/write.h"
#include "../Cmds/read.h"
Expand Down Expand Up @@ -105,6 +106,8 @@ ObjRsrc::AllocWorker(Trackable::ObjType type)
INSTANTIATE_OBJ(GETFEATURES, GetFeatures)
INSTANTIATE_OBJ(SETFEATURES, SetFeatures)
INSTANTIATE_OBJ(GETLOGPAGE, GetLogPage)
INSTANTIATE_OBJ(FWACTIVATE, FWActivate)
// INSTANTIATE_OBJ(FWIMGDNLD, FWImgDnld)
INSTANTIATE_OBJ(FORMATNVM, FormatNVM)

INSTANTIATE_OBJ(WRITE, Write)
Expand Down
2 changes: 2 additions & 0 deletions trackable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Trackable::GetObjName(ObjType obj)
case OBJ_GETFEATURES: name = "GetFeatures"; break;
case OBJ_SETFEATURES: name = "SetFeatures"; break;
case OBJ_GETLOGPAGE: name = "GetLogPage"; break;
case OBJ_FWACTIVATE: name = "FwActivate"; break;
case OBJ_FWIMGDNLD: name = "FwImgDnld"; break;
case OBJ_FORMATNVM: name = "FormatNVM"; break;
case OBJ_NVMCMD: name = "NVMCmd"; break;
case OBJ_WRITE: name = "Write"; break;
Expand Down
2 changes: 2 additions & 0 deletions trackable.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class Trackable
OBJ_GETFEATURES, // Admin cmd set; get features cmd
OBJ_SETFEATURES, // Admin cmd set; get features cmd
OBJ_GETLOGPAGE, // Admin cmd set; get log page cmd
OBJ_FWACTIVATE, // Admin cmd set; FW activate cmd
OBJ_FWIMGDNLD, // Admin cmd set; FW image download cmd
OBJ_FORMATNVM, // Admin cmd set; format NVM cmd
OBJ_NVMCMD, // NVM cmd set; non descriptive general cmd
OBJ_WRITE, // NVM cmd set; write cmd
Expand Down

0 comments on commit f006239

Please sign in to comment.