Refactor Set Firmware Update Mode command

Refactor Set firmware Update Mode command
along with fixing issues around completion code.

Tested:
Tested scenario's for proper completion code
 - Invalid random number length: rsp=0xc7
 - Wrong random number : rsp=0xcc
 - Random number expired : rsp=0xcc
 - Already update in progress: rsp=0xc0(busy)
 - All good : 0x00

Change-Id: I9c4dbfeed43ee6f218633cc8f4fd26d82eb07f49
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
1 file changed