summaryrefslogtreecommitdiff
path: root/extra/usb_updater/sweetberry.json
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2016-08-29 14:37:34 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-02 21:17:22 -0700
commitf4dba3b7d35c4db495f9a8eed442d005a2bc8ae7 (patch)
tree8d0c9448ccccf86e9a482ab6c81e664a8546ae9a /extra/usb_updater/sweetberry.json
parent1e23739997bdf85d3767d072377d6e607e3c96d5 (diff)
downloadchrome-ec-f4dba3b7d35c4db495f9a8eed442d005a2bc8ae7.tar.gz
sweetberry: add usb fw update
Port USB firmware update to stm32f4 dwc usb from st usb. This includes usb dwc usb stream inplementation, generic endpoint interfaces, and the sweetberry test case. BUG=chromium:608039 TEST=usb update works BRANCH=None Change-Id: Ia26e4f7e990ee64991468799c99b036f5f32190f Signed-off-by: Nick Sanders <nsanders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/377520 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'extra/usb_updater/sweetberry.json')
-rw-r--r--extra/usb_updater/sweetberry.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/usb_updater/sweetberry.json b/extra/usb_updater/sweetberry.json
new file mode 100644
index 0000000000..121ca0baf9
--- /dev/null
+++ b/extra/usb_updater/sweetberry.json
@@ -0,0 +1,14 @@
+{
+ "Comment": "This file describes the updateable sections of the flash.",
+ "board": "sweetberry",
+ "vid": "0x18d1",
+ "pid": "0x5020",
+ "Comment on flash": "This is the base address of writeable flash",
+ "flash": "0x8000000",
+ "Comment on region format": "name: [baseoffset, length]",
+ "regions": {
+ "RW": ["0x10000", "0x10000"],
+ "PSTATE": ["0xc000", "0x4000"],
+ "RO": ["0x0000", "0xc000"]
+ }
+}