]> git.sur5r.net Git - u-boot/blobdiff - board/cm41xx/cm41xx.c
i.MX6: crm_regs: define IOMUXC_GPR4/6/7
[u-boot] / board / cm41xx / cm41xx.c
index 02d05afef6e824b618e872670a3af75c7e6723e2..d9dff4e1e5cf87eb22e517e481b6c2c8b683a7c2 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <common.h>
 #include <asm/arch/platform.h>
+#include <netdev.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -46,8 +47,8 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 int env_flash_cmdline (void)
 {
-       unsigned char *sp = (unsigned char *) 0x0201c020;
-       unsigned char *ep;
+       char *sp = (char *) 0x0201c020;
+       char *ep;
        int len;
 
        /* Check if "erase" push button is depressed */
@@ -74,6 +75,10 @@ int board_late_init (void)
        return 0;
 }
 
+int board_eth_init(bd_t *bis)
+{
+       return ks8695_eth_initialize();
+}
 
 int board_init (void)
 {