Files
OpenCellular/chip/stm32
Todd Broch bc16903667 pd: Re-factor common flash vdms.
CL to migrate the flashing VDMs from zinger's custom vdm to
common/usb_pd_flash.c such that other updateable type-C devices can
share.

Additionally adds gaskets to call standard runtime flashing facilities
for USB-PD devices using it.

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

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

Try following:
    1. From samus_pd console w/ zinger in port 1

    pd 1 flash version
    pd 1 flash reboot
    pd 1 flash info

    2. From samus linux prompt  w/ zinger in port 1

    ectool --name cros_pd flashpd 1 1 <zinger RW payload>

    Reading 16384 bytes from
    /usr/local/zinger_v1.1.2528-d809e42.ec.RW.bin...
    Erasing expected RW hash
    Rebooting
    Erasing RW flash
    Writing RW flash
    Rebooting PD into new RW
    Complete

    3. Repeat 1&2 above on hoho & dingdong.

Change-Id: I018055fa9de128f937c57debdc21dea026137bcf
Reviewed-on: https://chromium-review.googlesource.com/231835
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
2014-12-05 10:06:25 +00:00
..
2014-10-07 20:58:52 +00:00
2014-12-05 10:06:25 +00:00
2014-11-18 09:10:42 +00:00
2014-10-07 20:58:52 +00:00
2014-05-21 20:32:17 +00:00
2014-10-15 23:55:55 +00:00
2014-10-07 20:58:52 +00:00
2014-10-07 20:58:52 +00:00
2014-10-07 20:58:52 +00:00
2014-10-07 20:58:52 +00:00
2014-10-07 20:58:52 +00:00
2014-08-29 03:00:20 +00:00
2014-08-29 03:00:20 +00:00
2014-10-07 20:58:52 +00:00
2013-07-01 10:19:49 -07:00
2013-07-08 13:53:58 -07:00
2013-12-16 20:28:32 +00:00
2014-09-24 08:56:21 +00:00
2014-10-07 20:58:52 +00:00
2014-10-15 23:55:55 +00:00
2014-10-07 20:58:52 +00:00
2014-10-08 02:50:48 +00:00
2014-10-08 02:50:48 +00:00
2014-10-22 19:44:03 +00:00
2014-10-22 19:44:03 +00:00