X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fmcffec.c;h=9a3a8455a11af595375a85228825fced5a7f2055;hb=05f86070c0722015520ceb172b22070db5d0aa35;hp=ebcbed941a5d2acafd57d032bdefbac1568ea8d5;hpb=ec6bc928bbe852a5dae242d24cfd28f868f6286c;p=oweals%2Fu-boot.git diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index ebcbed941a..9a3a8455a1 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -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 +#include #include #include @@ -18,6 +18,7 @@ #include #include +#include #undef ET_DEBUG #undef MII_DEBUG @@ -32,8 +33,6 @@ #define BD_ENET_RX_W_E (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY) #define BD_ENET_TX_RDY_LST (BD_ENET_TX_READY | BD_ENET_TX_LAST) -DECLARE_GLOBAL_DATA_PTR; - struct fec_info_s fec_info[] = { #ifdef CONFIG_SYS_FEC0_IOBASE {