summaryrefslogtreecommitdiffstats
path: root/drivers/spi/atmel_spi.c
Commit message (Collapse)AuthorAgeFilesLines
* AT91/AVR32: atmel_spi.c: flush RDR before next SPI transactionReinhard Meyer2010-09-031-2/+11
| | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
* atmel_spi: Driver for the Atmel SPI controllerHans-Christian Egtvedt2008-06-031-0/+210
This adds a driver for the SPI controller found on most AT91 and AVR32 chips, implementing the new SPI API. Changed in v4: - Update to new API - Handle zero-length transfers appropriately. The user may send a zero-length SPI transfer with SPI_XFER_END set in order to deactivate the chip select after a series of transfers with chip select active. This is useful e.g. when polling the status register of DataFlash. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
OpenPOWER on IntegriCloud