diff options
author | Ting Shen <phoenixshen@google.com> | 2019-08-26 16:41:09 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-26 10:56:52 +0000 |
commit | db93764becfb53cb172cf6c7f0828b260b140817 (patch) | |
tree | 2652f78165af6e48216f04177fc64efabd8c3115 /board/kukui | |
parent | 93c0fac6c1ffdf58e29f3c0a7876a79d5a2bd2f0 (diff) | |
download | chrome-ec-db93764becfb53cb172cf6c7f0828b260b140817.tar.gz |
kukui: set SPI pin to high speed
The SPI pins should be configured to high speed to meet the spec.
And since the pin assignment is same on all kukui families, move the
setup code to baseboard/.
BUG=b:138768646
TEST=verified by observe the waveform
BRANCH=kukui
Change-Id: I5b07767000bdf47101f83d338d06e7679c4f4848
Signed-off-by: Ting Shen <phoenixshen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1770329
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'board/kukui')
-rw-r--r-- | board/kukui/board.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/kukui/board.c b/board/kukui/board.c index 78ea8a84d7..b2a5f6dd59 100644 --- a/board/kukui/board.c +++ b/board/kukui/board.c @@ -256,9 +256,6 @@ static void board_init(void) gpio_set_level(GPIO_PMIC_FORCE_RESET_ODL, 1); } - /* Set SPI1 PB13/14/15 pins to high speed */ - STM32_GPIO_OSPEEDR(GPIO_B) |= 0xfc000000; - /* Enable TCPC alert interrupts */ gpio_enable_interrupt(GPIO_USB_C0_PD_INT_ODL); |