From b82b3f7a6ff2302b357397e8b72d43aff5644896 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 28 Jul 2010 14:48:45 -0700 Subject: Widened SPI slave select bus to 16 bits in host and firmware. --- firmware/microblaze/lib/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/microblaze/lib/spi.c') diff --git a/firmware/microblaze/lib/spi.c b/firmware/microblaze/lib/spi.c index 937397df6..bef808e57 100644 --- a/firmware/microblaze/lib/spi.c +++ b/firmware/microblaze/lib/spi.c @@ -43,7 +43,7 @@ spi_transact(bool readback, int slave, uint32_t data, int length, uint32_t flags spi_wait(); // Tell it which SPI slave device to access - spi_regs->ss = slave & 0xff; + spi_regs->ss = slave & 0xffff; // Data we will send spi_regs->txrx0 = data; -- cgit v1.2.3