Files
OpenCellular/driver
Scott Collyer 1e677d3f32 anx7447: Add functions to the anx7447 driver to check/erase OCM flash
This CL adds support to check if the OCM flash is erased and if not,
will erase it at initialization time. These changes are encapsulated
in a new config option CONFIG_USB_PD_TCPM_ANX7447_OCM_ERASE and this
option is enabled for Yorp boards.

BUG=b:77658388
BRANCH=NONE
TEST=make -j buildall. Tested on a board that hadn't yet been
erased. Verifed the message
"anx7447: OCM flash checked and successfully erased"
was in the EC log, but did not show up on subsequent reboots.

Change-Id: I660e76a9498d3dc1ba821a04317b324f716c5089
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/988414
Commit-Ready: Jett Rink <jettrink@chromium.org>
Tested-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
2018-04-13 13:25:13 -07:00
..
2018-03-02 22:22:34 -08:00
2018-03-19 19:21:21 -07:00
2018-03-19 19:21:21 -07:00
2017-07-13 15:08:42 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2018-03-14 04:06:53 -07:00
2018-03-14 04:06:53 -07:00
2018-03-26 23:33:33 -07:00
2017-10-31 21:49:24 -07:00
2016-08-24 17:40:52 -07:00