diff --git a/arch/arm/src/efm32/efm32_spi.c b/arch/arm/src/efm32/efm32_spi.c index 8abe5d7aa3..9c88e320b1 100644 --- a/arch/arm/src/efm32/efm32_spi.c +++ b/arch/arm/src/efm32/efm32_spi.c @@ -71,12 +71,6 @@ * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ -/* SPI interrupts */ - -#ifdef CONFIG_EFM32_SPI_INTERRUPTS -# error Interrupt driven SPI not yet supported -#endif - /* SPI DMA */ #ifndef CONFIG_EFM32_SPI_DMA_TIMEO_NSEC @@ -87,12 +81,6 @@ # define CONFIG_EFM32_SPI_DMA_MINSIZE 16 #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 **********************************************************/ #define SPI_DMA8_CONFIG (EFM32_DMA_XFERSIZE_BYTE| EFM32_DMA_MEMINCR)