diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-04-26 13:23:18 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-06-03 20:14:58 -0700 |
commit | 767b6152158c0b718e819d6403e2b8e34bd74686 (patch) | |
tree | fc942e46612b03f336c5b780cc61b275e48280f8 /chip/g/build.mk | |
parent | a5a4181d29dfb6b1b9a9d102aaf17529a0c69003 (diff) | |
download | chrome-ec-767b6152158c0b718e819d6403e2b8e34bd74686.tar.gz |
g: implement EC/AP flash access via CCD
While in CCD, cr50 can be used to flash the AP and EC through USB. This
change adds an endpoint that can be used to read, erase, and write to
the AP and EC spi rom.
Currently CCD is not enabled on cr50, so usb_spi access has to be
enabled manually through the cr50 console.
BUG=chrome-os-partner:50701
BRANCH=none
TEST=manual
On EC console run 'flash_tristate true'
On cr50 console run 'usb_spi enable'
Use 'flashrom -p raiden_debug_spi:target=EC' and
'flashrom -p raiden_debug_spi:target=AP' to interact with
the AP and EC flash
CQ-DEPEND=CL:342144
Change-Id: I9c31dab252a8bfbc498eaf64ac5c2f53ec9dde30
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/342511
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r-- | chip/g/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk index 09333669ca..2512847017 100644 --- a/chip/g/build.mk +++ b/chip/g/build.mk @@ -62,6 +62,7 @@ chip-$(CONFIG_USB)+=usb.o usb_endpoints.o chip-$(CONFIG_USB_CONSOLE)+=usb_console.o chip-$(CONFIG_USB_HID)+=usb_hid.o chip-$(CONFIG_USB_BLOB)+=blob.o +chip-$(CONFIG_USB_SPI)+=usb_spi.o chip-$(CONFIG_RDD)+=rdd.o chip-$(CONFIG_RBOX)+=rbox.o chip-$(CONFIG_STREAM_USB)+=usb-stream.o |