]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sorcery/sorcery.c
board: xilinx: Remove unused ancient i2c driver
[karo-tx-uboot.git] / board / sorcery / sorcery.c
index 2b789d47415dc6dea84f17e64e27c59cb6cb2237..90d4298020d1b3f53d299919f0d7aa1541c5807f 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <pci.h>
+#include <netdev.h>
 
 phys_size_t initdram (int board_type)
 {
@@ -33,7 +34,7 @@ phys_size_t initdram (int board_type)
 
        size = dramSetup ();
 
-       return get_ram_size(CFG_SDRAM_BASE, size);
+       return get_ram_size(CONFIG_SYS_SDRAM_BASE, size);
 }
 
 int checkboard (void)
@@ -58,3 +59,10 @@ void pci_init_board (void)
        pci_mpc8220_init (&hose);
 #endif /* CONFIG_PCI */
 }
+
+int board_eth_init(bd_t *bis)
+{
+       /* Initialize built-in FEC first */
+       cpu_eth_init(bis);
+       return pci_eth_init(bis);
+}