From 7e14583689f2e6e89f3f27e1abb171910ea875a7 Mon Sep 17 00:00:00 2001 From: Nick Sanders Date: Fri, 5 Aug 2016 00:39:31 -0700 Subject: servo_micro: increase SPI clock While SPI routing on servo is not great, this is still fine and asn't as painfully slow. BUG=chromium:571477 TEST=flash some firmware BRANCH=None Change-Id: I26d67ed6cd1ba62a892388e96a21acc708265fc4 Signed-off-by: Nick Sanders Reviewed-on: https://chromium-review.googlesource.com/366670 Reviewed-by: Randall Spangler --- board/servo_micro/board.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/servo_micro/board.c b/board/servo_micro/board.c index 305c1ce320..0b74826352 100644 --- a/board/servo_micro/board.c +++ b/board/servo_micro/board.c @@ -145,9 +145,8 @@ BUILD_ASSERT(ARRAY_SIZE(usb_strings) == USB_STR_COUNT); */ /* SPI devices */ -/* Set clock divider to 7 since our SPI routing is non-optimal. */ const struct spi_device_t spi_devices[] = { - { CONFIG_SPI_FLASH_PORT, 7, GPIO_SPI_CS}, + { CONFIG_SPI_FLASH_PORT, 1, GPIO_SPI_CS}, }; const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices); -- cgit v1.2.1