SAM4E-EK: Add support for the SAM4E-EK AT25 serial flash

This commit is contained in:
Gregory Nutt 2014-03-13 14:07:35 -06:00
parent c0c2fc4afe
commit d32b85a938
2 changed files with 4 additions and 4 deletions

View File

@ -340,7 +340,7 @@ config SAM34_EIC
depends on ARCH_CHIP_SAM4L || ARCH_CHIP_SAM4E depends on ARCH_CHIP_SAM4L || ARCH_CHIP_SAM4E
config SAM34_DMAC config SAM34_DMAC
bool "DMA controller" bool "DMA controller (DMAC)"
default n default n
depends on ARCH_CHIP_SAM3U || ARCH_CHIP_SAM3X || ARCH_CHIP_SAM3A || ARCH_CHIP_SAM4E depends on ARCH_CHIP_SAM3U || ARCH_CHIP_SAM3X || ARCH_CHIP_SAM3A || ARCH_CHIP_SAM4E
select ARCH_DMA select ARCH_DMA
@ -875,7 +875,7 @@ endmenu # AT91SAM3/4 GPIO Interrupt Configuration
if SAM34_SPI0 || SAM34_SPI1 if SAM34_SPI0 || SAM34_SPI1
menu "SPI device driver options" menu "AT91SAM3/4 SPI device driver options"
config SAM34_SPI_DMA config SAM34_SPI_DMA
bool "SPI DMA" bool "SPI DMA"
@ -911,7 +911,7 @@ config SAM34_SPI_REGDEBUG
Output detailed register-level SPI device debug information. Output detailed register-level SPI device debug information.
Requires also DEBUG. Requires also DEBUG.
endmenu # SPI device driver options endmenu # AT91SAM3/4 SPI device driver options
endif # SAM34_SPI0 || SAM34_SPI1 endif # SAM34_SPI0 || SAM34_SPI1
if SAM34_EMAC if SAM34_EMAC

View File

@ -213,7 +213,7 @@ typedef void (*select_t)(enum spi_dev_e devid, bool selected);
struct sam_spidev_s struct sam_spidev_s
{ {
uint32_t base; /* SPI controller register base address */ uint32_t base; /* SPI controller register base address */
sem_t spisem; /* Assures mutually exclusive acess to SPI */ sem_t spisem; /* Assures mutually exclusive access to SPI */
select_t select; /* SPI select callout */ select_t select; /* SPI select callout */
bool initialized; /* TRUE: Controller has been initialized */ bool initialized; /* TRUE: Controller has been initialized */
#ifdef CONFIG_SAM34_SPI_DMA #ifdef CONFIG_SAM34_SPI_DMA