]> git.sur5r.net Git - u-boot/blobdiff - board/ssv/adnpesc1/adnpesc1.c
Merge branch 'master' into next
[u-boot] / board / ssv / adnpesc1 / adnpesc1.c
index 9d32741499ee7bf5997caa1a5cbb2a1acfa1d187..802bfba1ab685b8078198aa43cff285e830af4c8 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 #include <nios-io.h>
 #include <spi.h>
 
@@ -90,13 +91,13 @@ void spi_cs_deactivate(struct spi_slave *slave)
 
 #endif
 
-#if    defined(CONFIG_POST)
-/*
- * Returns 1 if keys pressed to start the power-on long-running tests
- * Called from board_init_f().
- */
-int post_hotkeys_pressed(void)
+#ifdef CONFIG_CMD_NET
+int board_eth_init(bd_t *bis)
 {
-       return 0;       /* No hotkeys supported */
+       int rc = 0;
+#ifdef CONFIG_CS8900
+       rc = cs8900_initialize(0, CONFIG_CS8900_BASE);
+#endif
+       return rc;
 }
-#endif /* CONFIG_POST */
+#endif