summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_gpdma.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_gpdma.c b/nuttx/arch/arm/src/lpc17xx/lpc17_gpdma.c
index 4edc87dbf..6ccc8e4ef 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_gpdma.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_gpdma.c
@@ -247,6 +247,10 @@ void weak_function up_dmainitialize(void)
{
up_enable_irq(LPC17_IRQ_GPDMA);
}
+
+ /* Enable the DMA controller (for little endian operation) */
+
+ putreg32(DMA_CONFIG_E, LPC17_DMA_CONFIG);
}
/****************************************************************************