summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-27 09:05:52 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-27 09:05:52 -0600
commit8f4c0a76379557adf8217ca09ee641090dbd0dd8 (patch)
tree3ee0664d8c66a8f2ba8c7458b99925158a0f1587
parent9713dea659311ad7b4bc9733c544eae1cca3fbc7 (diff)
downloadnuttx-8f4c0a76379557adf8217ca09ee641090dbd0dd8.tar.gz
nuttx-8f4c0a76379557adf8217ca09ee641090dbd0dd8.tar.bz2
nuttx-8f4c0a76379557adf8217ca09ee641090dbd0dd8.zip
Cosmetic... removed checks for non-existent configuration setting
-rw-r--r--nuttx/arch/arm/src/efm32/efm32_spi.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/nuttx/arch/arm/src/efm32/efm32_spi.c b/nuttx/arch/arm/src/efm32/efm32_spi.c
index 8abe5d7aa..9c88e320b 100644
--- a/nuttx/arch/arm/src/efm32/efm32_spi.c
+++ b/nuttx/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)