]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/fsl_mcdmafec.c
net: mvgbe: extract common code for SMI wait
[u-boot] / drivers / net / fsl_mcdmafec.c
index 2d89cea4a3e16b9d771dc1aeb956587e76da0199..88309b186cda2e33e38debfb35e0576e184700a7 100644 (file)
@@ -1,14 +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 <malloc.h>
 #include <command.h>
 #include <config.h>
@@ -37,8 +37,6 @@
 
 #include "MCD_dma.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct fec_info_dma fec_info[] = {
 #ifdef CONFIG_SYS_FEC0_IOBASE
        {