]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/samsung/smdk6400/smdk6400.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / samsung / smdk6400 / smdk6400.c
index 52cd174a066b08bb4a30c43dc744204f5e7d1fb3..78aaa9e13a3a88847bb6b82092a2f79931b1eb92 100644 (file)
@@ -29,7 +29,8 @@
  */
 
 #include <common.h>
-#include <s3c6400.h>
+#include <netdev.h>
+#include <asm/arch/s3c6400.h>
 
 /* ------------------------------------------------------------------------- */
 #define CS8900_Tacs    0x0     /* 0clk         address set-up          */
@@ -117,3 +118,14 @@ ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t *info)
        } else
                return 0;
 }
+
+#ifdef CONFIG_CMD_NET
+int board_eth_init(bd_t *bis)
+{
+       int rc = 0;
+#ifdef CONFIG_CS8900
+       rc = cs8900_initialize(0, CONFIG_CS8900_BASE);
+#endif
+       return rc;
+}
+#endif