Skip to content

Commit 5325565

Browse files
committed
drivers: spi: litex: increase SPI_MAX_CS_SIZE to 32
LiteSPI now has support for multiple CS. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
1 parent 8755b51 commit 5325565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi_litex_litespi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LOG_MODULE_REGISTER(spi_litex_litespi);
2626
#define SPIFLASH_MASTER_STATUS_RX_READY_OFFSET 0x1
2727

2828
#define SPI_MAX_WORD_SIZE 32
29-
#define SPI_MAX_CS_SIZE 4
29+
#define SPI_MAX_CS_SIZE 32
3030

3131
#define SPI_LITEX_WIDTH BIT(0)
3232
#define SPI_LITEX_MASK BIT(0)

0 commit comments

Comments
 (0)