ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP
[oweals/u-boot.git] / drivers / net / fsl_mcdmafec.c
index 00d905c299de4d6e3d451ec886067b88c7f9d523..e66fb16de8720e10556dc4b30640cb2abbf576a7 100644 (file)
@@ -1,15 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
  * (C) Copyright 2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
-#include <environment.h>
+#include <env.h>
 #include <malloc.h>
 #include <command.h>
 #include <config.h>
@@ -38,8 +37,6 @@
 
 #include "MCD_dma.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct fec_info_dma fec_info[] = {
 #ifdef CONFIG_SYS_FEC0_IOBASE
        {