X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Fxilinx_ll_temac_sdma.c;h=32a822eea5cb1282b3228fbc8f2b4572a81127c7;hb=32e4f6bf2e35e99e1742c005e1ede4e0cf5f066c;hp=621d100f290fbea89337fd2976efd21a0fded2c9;hpb=2c734cd932b53b46e9f89e4f5db9360afc459ae6;p=u-boot diff --git a/drivers/net/xilinx_ll_temac_sdma.c b/drivers/net/xilinx_ll_temac_sdma.c index 621d100f29..32a822eea5 100644 --- a/drivers/net/xilinx_ll_temac_sdma.c +++ b/drivers/net/xilinx_ll_temac_sdma.c @@ -13,10 +13,7 @@ * * CREDITS: tsec driver * - * 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. + * SPDX-License-Identifier: GPL-2.0+ * * [0]: http://www.xilinx.com/support/documentation * @@ -324,8 +321,7 @@ int ll_temac_recv_sdma(struct eth_device *dev) return 0; } -int ll_temac_send_sdma(struct eth_device *dev, volatile void *packet, - int length) +int ll_temac_send_sdma(struct eth_device *dev, void *packet, int length) { unsigned timeout = 50; /* 1usec * 50 = 50usec */ struct cdmac_bd *tx_dp = &cdmac_bd.tx[tx_idx];