]> git.sur5r.net Git - u-boot/blobdiff - board/mx1ads/mx1ads.c
nios2: Fix outx/writex parameter order in io.h
[u-boot] / board / mx1ads / mx1ads.c
index 913f95c5e89180e97f4c2f23512335a200aa4a6c..f8ce2108c1c5f6de196f1a2d82b3ea30e299a239 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 /*#include <mc9328.h>*/
 #include <asm/arch/imx-regs.h>
 
@@ -85,8 +86,8 @@ int board_init (void)
 
        GPCR = 0x000003AB;      /* I/O pad driving strength     */
 
-       /*      MX1_CS1U        = 0x00000A00;   *//* SRAM initialization          */
-/*     MX1_CS1L        = 0x11110601;   */
+       /*      MX1_CS1U        = 0x00000A00;   */ /* SRAM initialization          */
+/*     MX1_CS1L        = 0x11110601;   */
 
        MPCTL0 = 0x04632410;    /* setting for 150 MHz MCU PLL CLK      */
 
@@ -167,3 +168,14 @@ int dram_init (void)
 
        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