summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c')
-rw-r--r--c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c b/c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c
index 839fce1526..c3489c6b66 100644
--- a/c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c
+++ b/c/src/lib/libcpu/m68k/mcf548x/mcdma/MCD_dmaApi.c
@@ -246,9 +246,9 @@ int MCD_initDma (dmaRegs *dmaBarAddr, void *taskTableDest, u32 flags)
entryPtr[i].TDTend = (u32)taskDescTabsOffset - 4;
}
#ifdef MCD_INCLUDE_EU /* Tack single DMA BDs onto end of code so API controls
- where they are since DMA might write to them */
+ where they are since DMA might write to them */
MCD_relocBuffDesc = (MCD_bufDesc*)(entryPtr[NUMOFVARIANTS - 1].TDTend + 4);
-#else /* DMA does not touch them so they can be wherever and we don't need to
+#else /* DMA does not touch them so they can be wherever and we don't need to
waste SRAM on them */
MCD_relocBuffDesc = MCD_singleBufDescs;
#endif
@@ -379,14 +379,14 @@ int MCD_startDma (
if((channel < 0) || (channel >= NCHANNELS))
return(MCD_CHANNEL_INVALID);
-
- /* tbd - need to determine the proper response to a bad funcDesc when not
+
+ /* tbd - need to determine the proper response to a bad funcDesc when not
including EU functions, for now, assign a benign funcDesc, but maybe
should return an error */
#ifndef MCD_INCLUDE_EU
funcDesc = MCD_FUNC_NOEU1;
#endif
-
+
#ifdef MCD_DEBUG
printf("startDma:Setting up params\n");
#endif
@@ -562,7 +562,7 @@ printf("startDma:Setting up params\n");
* Notes:
* MCD_XferProgrQuery() upon completing or after aborting a DMA, or
* while the DMA is in progress, this function returns the first
- * DMA-destination address not (or not yet) used in the DMA. When
+ * DMA-destination address not (or not yet) used in the DMA. When
* encountering a non-ready buffer descriptor, the information for
* the last completed descriptor is returned.
*
@@ -808,7 +808,7 @@ int MCD_continDma (int channel)
* this means that bits 14 and 0 must enable debug functions before
* bits 1 and 2, respectively, have any effect.
*
- * NOTE: It's extremely important to not pause more than one DMA channel
+ * NOTE: It's extremely important to not pause more than one DMA channel
* at a time.
********************************************************************/