mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
drivers/dma: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user