]> git.sur5r.net Git - u-boot/blobdiff - board/sbc8240/sbc8240.c
Merge branch 'master' of git://git.denx.de/u-boot-mips
[u-boot] / board / sbc8240 / sbc8240.c
index a6d3babe92942ec87dfaf625c80327c15d75726d..075e3777ff438364d70cf027fa7500ac0ccc8bb0 100644 (file)
 #include <mpc824x.h>
 #include <asm/processor.h>
 #include <pci.h>
+#include <netdev.h>
+
+DECLARE_GLOBAL_DATA_PTR;
 
 #define BOARD_REV_REG 0xFE80002B
 
 int checkboard (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        char  revision = *(volatile char *)(BOARD_REV_REG);
        char  buf[32];
 
@@ -45,7 +46,7 @@ int checkboard (void)
        return 0;
 }
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        long size;
        long new_bank0_end;
@@ -103,3 +104,8 @@ int misc_init_r (void)
        return (0);
 }
 #endif /* CONFIG_MISC_INIT_R */
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}