diff options
author | Anton Staaf <robotboy@chromium.org> | 2014-11-03 13:23:30 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-04 18:14:20 +0000 |
commit | bde06f7697fcbe09d061e1c77515f962ef09452b (patch) | |
tree | 5868226bed06c7749dc06cfc3807863dea806fc8 /chip | |
parent | 3a4f718f224d3def71d269f99c9092f4ea23d715 (diff) | |
download | chrome-ec-bde06f7697fcbe09d061e1c77515f962ef09452b.tar.gz |
USB: stm32f3: use correct values for USB RAM size and usb_uint
The RAM size was copied from the STM32F0 definition which was
not correct, and the usb_uint computation was only checking for
the STM32F0 family, assuming that all others were the old
uint32_t access size.
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=None
BUG=None
TEST=make buildall -j
Change-Id: I28951351601254ea6ebabaec2687d6bfe716b699
Reviewed-on: https://chromium-review.googlesource.com/227210
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/stm32/config-stm32f373.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/config-stm32f373.h b/chip/stm32/config-stm32f373.h index 2b742bafdf..2553702877 100644 --- a/chip/stm32/config-stm32f373.h +++ b/chip/stm32/config-stm32f373.h @@ -38,4 +38,4 @@ #define CONFIG_IRQ_COUNT 81 /* STM32F3 has a larger USB RAM */ -#define CONFIG_USB_RAM_SIZE 1024 +#define CONFIG_USB_RAM_SIZE 512 |