summaryrefslogtreecommitdiff
path: root/board/cr50/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.c')
-rw-r--r--board/cr50/board.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index bf9878eda9..25f226542d 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -993,9 +993,8 @@ BUILD_ASSERT(ARRAY_SIZE(usb_strings) == USB_STR_COUNT);
#endif
/* SPI devices */
-const struct spi_device_t spi_devices[] = {
- [CONFIG_SPI_FLASH_PORT] = {0, 2, GPIO_COUNT}
-};
+const struct spi_device_t spi_devices[] = { [CONFIG_SPI_FLASH_PORT] = {
+ 0, 2, GPIO_SPI_CS_L } };
const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices);
int flash_regions_to_enable(struct g_flash_region *regions,