]> git.sur5r.net Git - u-boot/blobdiff - drivers/dma/MCD_tasksInit.c
serial: ns16550: Add reset ctrl to driver
[u-boot] / drivers / dma / MCD_tasksInit.c
index cf567db5a0bd22ccc6bf432e1673bfa723f22cab..079cd0af3c02ff15e22709ba70c5693b95486422 100644 (file)
@@ -1,23 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
  */
 
 #include <common.h>
@@ -28,8 +11,6 @@
  * Do not edit!
  */
 
-#ifdef CONFIG_FSLDMAFEC
-
 #include <MCD_dma.h>
 
 extern dmaRegs *MCD_dmaBar;
@@ -242,5 +223,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 */