Cosmetic... removed checks for non-existent configuration setting
This commit is contained in:
parent
fe6f857f13
commit
1252286845
@ -71,12 +71,6 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/* Configuration ************************************************************/
|
/* Configuration ************************************************************/
|
||||||
/* SPI interrupts */
|
|
||||||
|
|
||||||
#ifdef CONFIG_EFM32_SPI_INTERRUPTS
|
|
||||||
# error Interrupt driven SPI not yet supported
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* SPI DMA */
|
/* SPI DMA */
|
||||||
|
|
||||||
#ifndef CONFIG_EFM32_SPI_DMA_TIMEO_NSEC
|
#ifndef CONFIG_EFM32_SPI_DMA_TIMEO_NSEC
|
||||||
@ -87,12 +81,6 @@
|
|||||||
# define CONFIG_EFM32_SPI_DMA_MINSIZE 16
|
# define CONFIG_EFM32_SPI_DMA_MINSIZE 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Can't have both interrupt driven SPI and SPI DMA */
|
|
||||||
|
|
||||||
#if defined(CONFIG_EFM32_SPI_INTERRUPTS) && defined(CONFIG_EFM32_SPI_DMA)
|
|
||||||
# error Cannot enable both interrupt mode and DMA mode for SPI
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* DMA definitions **********************************************************/
|
/* DMA definitions **********************************************************/
|
||||||
|
|
||||||
#define SPI_DMA8_CONFIG (EFM32_DMA_XFERSIZE_BYTE| EFM32_DMA_MEMINCR)
|
#define SPI_DMA8_CONFIG (EFM32_DMA_XFERSIZE_BYTE| EFM32_DMA_MEMINCR)
|
||||||
|
Loading…
Reference in New Issue
Block a user