diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-07-28 14:48:45 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-07-28 14:48:45 -0700 |
commit | b82b3f7a6ff2302b357397e8b72d43aff5644896 (patch) | |
tree | cfbf04d43d6ea13d4ae2e61be7ce0b0b297228d5 /firmware/microblaze/lib/spi.c | |
parent | c348a98c8004e7ac9d28231ae80dadef415440ef (diff) | |
download | uhd-b82b3f7a6ff2302b357397e8b72d43aff5644896.tar.gz uhd-b82b3f7a6ff2302b357397e8b72d43aff5644896.tar.bz2 uhd-b82b3f7a6ff2302b357397e8b72d43aff5644896.zip |
Widened SPI slave select bus to 16 bits in host and firmware.
Diffstat (limited to 'firmware/microblaze/lib/spi.c')
-rw-r--r-- | firmware/microblaze/lib/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |