]> git.sur5r.net Git - u-boot/blobdiff - board/bf538f-ezkit/bf538f-ezkit.c
gdsys: Drop print_fpga_state function
[u-boot] / board / bf538f-ezkit / bf538f-ezkit.c
index bbee9896757edf6bffb59641deb6b5a602b16eaa..2dd4c0c4d17ea3d419033adb124c59349f94190e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * U-boot - main board file
+ * U-Boot - main board file
  *
  * Copyright (c) 2008 Analog Devices Inc.
  *
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 #include <config.h>
 #include <asm/blackfin.h>
 
@@ -19,9 +20,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