]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/xilinx_ll_temac_sdma.c
net: macb: get DMA bus width from design config register
[u-boot] / drivers / net / xilinx_ll_temac_sdma.c
index 621d100f290fbea89337fd2976efd21a0fded2c9..32a822eea5cb1282b3228fbc8f2b4572a81127c7 100644 (file)
  *
  * 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];