mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
drivers/dma: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
1a02806c4b
commit
88f57e0931
4 changed files with 1 additions and 12 deletions
|
@ -28,8 +28,6 @@
|
|||
* Do not edit!
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_FSLDMAFEC
|
||||
|
||||
#include <MCD_dma.h>
|
||||
|
||||
extern dmaRegs *MCD_dmaBar;
|
||||
|
@ -242,5 +240,3 @@ void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
|
|||
/* Set the task's Enable bit in its Task Control Register */
|
||||
MCD_dmaBar->taskControl[channel] |= (u16) 0x8000;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_FSLDMAFEC */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue