summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2016-08-05 00:39:31 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-08 18:22:32 -0700
commit7e14583689f2e6e89f3f27e1abb171910ea875a7 (patch)
tree89e69c7f9e3483be81fb74b997a01fcc6e0cc87b
parent3e42a3b059d35310fe41bcc55d2d1b5d0efe0bd4 (diff)
downloadchrome-ec-7e14583689f2e6e89f3f27e1abb171910ea875a7.tar.gz
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 <nsanders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/366670 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/servo_micro/board.c3
1 files changed, 1 insertions, 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);