]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bf561-ezkit/bf561-ezkit.c
Merge branch 'u-boot/master' into u-boot-arm/master
[karo-tx-uboot.git] / board / bf561-ezkit / bf561-ezkit.c
index 5aede174d88066128df2b85817c6d61d9974e54b..8441838747a5e4408ad0af266699dd39c717ebfd 100644 (file)
@@ -6,26 +6,11 @@
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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., 51 Franklin St, Fifth Floor, Boston,
- * MA 02110-1301 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <netdev.h>
 #include <asm/io.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -37,9 +22,9 @@ int checkboard(void)
        return 0;
 }
 
-phys_size_t initdram(int board_type)
+#ifdef CONFIG_SMC91111
+int board_eth_init(bd_t *bis)
 {
-       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
-       gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
-       return gd->bd->bi_memsize;
+       return smc91111_initialize(0, CONFIG_SMC91111_BASE);
 }
+#endif