firefly: fix bug, correctly set CC transmit to a high speed output

Correctly set CC1 transmit pin to a high speed output.

BUG=none
BRANCH=none
TEST=make -j buildall

Change-Id: I54d0d8ae3ea485728e340430bbb63ecf24c10bd6
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/207995
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
Alec Berg
2014-07-15 08:37:55 -07:00
committed by chrome-internal-fetch
parent a975c98fb2
commit 4547f1eac8

View File

@@ -36,8 +36,8 @@ static inline void spi_enable_clock(void)
/* the pins used for communication need to be hi-speed */
static inline void pd_set_pins_speed(void)
{
/* 40 MHz pin speed on SPI1 PA4/6/7 */
STM32_GPIO_OSPEEDR(GPIO_B) |= 0x0000F300;
/* 40 MHz pin speed on SPI1 PA6/7 */
STM32_GPIO_OSPEEDR(GPIO_A) |= 0x0000F000;
/* 40 MHz pin speed on SPI1 PB3/4/5 */
STM32_GPIO_OSPEEDR(GPIO_B) |= 0x00000FC0;
/* 40 MHz pin speed on TIM17_CH1 (PB9) */