]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/mousse/mousse.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / mousse / mousse.c
index 7208a17c1a6ab86479c1193aea5383609c080920..bd8d1c6f053f13b4d2ba96db3dd63b8a0f8c0ef7 100755 (executable)
@@ -28,7 +28,9 @@
 
 #include <common.h>
 #include <mpc824x.h>
+#include <netdev.h>
 #include <asm/processor.h>
+#include <timestamp.h>
 
 #include "mousse.h"
 #include "m48t59y.h"
@@ -41,7 +43,7 @@ int checkboard (void)
        char buf[32];
 
        puts ("Board: MOUSSE MPC8240/KAHLUA - CHRP (MAP B)\n");
-       printf ("Built: %s at %s\n", __DATE__, __TIME__);
+       printf ("Built: %s at %s\n", U_BOOT_DATE, U_BOOT_TIME);
        printf ("MPLD:  Revision %d\n", SYS_REVID_GET ());
        printf ("Local Bus:  %s MHz\n", strmhz (buf, busfreq));
 
@@ -55,9 +57,9 @@ int checkflash (void)
        return 0;
 }
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
-       return CFG_RAM_SIZE;
+       return CONFIG_SYS_RAM_SIZE;
 }
 
 
@@ -84,3 +86,8 @@ int misc_init_f (void)
        get_tod ();
        return 0;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}