arch/arm/src/max326xx: Add framework for MAX326XX standard DMA support.

This commit is contained in:
Gregory Nutt
2018-11-20 08:08:28 -06:00
parent a588d64b45
commit 7a45fc6f1c
37 changed files with 603 additions and 78 deletions
+3 -3
View File
@@ -107,15 +107,15 @@ void up_initialize(void)
#endif
#ifdef CONFIG_ARCH_DMA
/* Initialize the DMA subsystem if the weak function up_dmainitialize has been
/* Initialize the DMA subsystem if the weak function up_dma_initialize has been
* brought into the build
*/
#ifdef CONFIG_HAVE_WEAKFUNCTIONS
if (up_dmainitialize)
if (up_dma_initialize)
#endif
{
up_dmainitialize();
up_dma_initialize();
}
#endif
+1 -1
View File
@@ -179,7 +179,7 @@ void up_savestate(uint32_t *regs);
void up_decodeirq(uint32_t *regs);
void up_irqinitialize(void);
#ifdef CONFIG_ARCH_DMA
void weak_function up_dmainitialize(void);
void weak_function up_dma_initialize(void);
#endif
int up_saveusercontext(uint32_t *saveregs);
void up_fullcontextrestore(uint32_t *restoreregs) noreturn_function;