]> git.sur5r.net Git - u-boot/blobdiff - board/mousse/mousse.c
ppc: trigger WDT before starting Linux
[u-boot] / board / mousse / mousse.c
index f8f152976c2900011d2c20d3bdb41c3fdfe14720..bd8d1c6f053f13b4d2ba96db3dd63b8a0f8c0ef7 100644 (file)
@@ -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));
 
@@ -57,7 +59,7 @@ int checkflash (void)
 
 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);
+}