mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
arch/arm/src/max326xx: Add framework for MAX326XX standard DMA support.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user