Files
OpenCellular/driver
Todd Broch 61ee1d7323 mcdp28x0: Use custom appstest command for get_info
Firmware's original get_info command always returns the same values
for family, chipid, irom & fw despite indeed having different
versions.

Currently its:
  family:000e chipid:0001 irom:1.0.0 fw:0.0.0

As we have a new stepping of the chip ('BB') and a corresponding new
firmware (>=0.74) we need a mechanism to verify and log this change.

CL uses the newly hatched appstest command (0x12) message 0x28 to
surface information that properly reflects both hardware and firmware
running.

Signed-off-by: Todd Broch <tbroch@chromium.org>

BRANCH=samus
BUG=chrome-os-partner:35939
TEST=manual,

For devices running 0.54 | 0.74 fw see gpio MCDP_READY asserted.

With CONFIG_CMD_MCDP in board/hoho/board.h see the following responses
when executing 'mcdp info'

Stepping | FW   | Response
--------------------------------------------------------------------
'BA'       0.53   fails as expected
'BA'       0.54   family:0010 chipid:2850 irom:2.0.0 fw:0.54.0
'BB'       0.73   fails as expected
'BB'       0.74   family:0010 chipid:2850 irom:2.1.0 fw:0.74.0

Change-Id: I2c36393a298c617f903389dab24da631b60ec574
Reviewed-on: https://chromium-review.googlesource.com/274049
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
2015-05-30 01:04:47 +00:00
..