*/
#include <common.h>
+#include <netdev.h>
#include <nios-io.h>
#include <spi.h>
#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