From 586a363391bdf130f6753df25b28aec00476ea69 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 27 Oct 2014 09:05:52 -0600 Subject: [PATCH] Cosmetic... removed checks for non-existent configuration setting --- arch/arm/src/efm32/efm32_spi.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm/src/efm32/efm32_spi.c b/arch/arm/src/efm32/efm32_spi.c index 8abe5d7aa3b..9c88e320b1d 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)