Cr50: USB hardware uses 8-bit buffers, not 16-bit

Our USB buffers are just arrays of uint8_t in program RAM, so
let's treat them that way. The DMA descriptors are in normal RAM,
too.

BUG=chrome-os-partner:40693
BRANCH=none
TEST=make buildall

Change-Id: Ibafe1a557a328bbf8cf37ce113675fcd35bad376
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/273918
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Bill Richardson
2015-05-29 13:29:43 -07:00
committed by ChromeOS Commit Bot
parent eaf2f26831
commit 41533aab3a
8 changed files with 49 additions and 112 deletions

View File

@@ -1381,7 +1381,7 @@
/* Compile chip support for the USB device controller */
#undef CONFIG_USB
/* USB device buffers and descriptors */
/* USB device buffers and descriptors in dedicated RAM */
#undef CONFIG_USB_RAM_ACCESS_SIZE
#undef CONFIG_USB_RAM_ACCESS_TYPE
#undef CONFIG_USB_RAM_BASE