]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/ax88796.c
spi: xilinx: Read reg base address from DTS file
[u-boot] / drivers / net / ax88796.c
index 39cd101f08b0388b9b799cb228cebed9788dab0a..01c1ae27299c1f45e5b9c462b044582c507940e6 100644 (file)
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (c) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
- *
- * 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.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 #include <common.h>
 #include "ax88796.h"
@@ -143,7 +130,7 @@ static void ax88796_mac_read(u8 *buff)
        }
 }
 
-int get_prom(u8* mac_addr)
+int get_prom(u8* mac_addr, u8* base_addr)
 {
        u8 prom[32];
        int i;