Merge branch 'Makefile-next' of git://git.denx.de/u-boot-arm
[oweals/u-boot.git] / board / pcippc2 / pcippc2.c
index 1148c6aa273d814501f772917d11469db8ce5d43..a3dbdc846e037e34202a18b8fce53bdca90b5f52 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/mtd/doc2000.h>
 #include <watchdog.h>
 #include <pci.h>
+#include <netdev.h>
 
 #include "hardware.h"
 #include "pcippc2.h"
@@ -63,7 +64,7 @@ u32 pcippc2_sdram_size (void)
        return in32 (REG (CPC0, RGBAN1));
 }
 
-long initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        return cpc710_ram_init ();
 }
@@ -243,3 +244,8 @@ U_BOOT_CMD(
 
 #endif
 #endif /* CONFIG_WATCHDOG */
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}