]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/linkstation/linkstation.c
linkstation: fix warning: "CONFIG_IDENT_STRING" redefined
[karo-tx-uboot.git] / board / linkstation / linkstation.c
index 241cf032d86698dbff68c58f3854317231ced2cb..764085691c8ebff9789799249537563c047b6763 100644 (file)
  * MA 02111-1307 USA
  */
 
-#include <version.h>
 #include <common.h>
+#include <version.h>
 #include <mpc824x.h>
 #include <asm/io.h>
 #include <ns16550.h>
+#include <netdev.h>
 
 #ifdef CONFIG_PCI
 #include <pci.h>
 #endif
 
+DECLARE_GLOBAL_DATA_PTR;
+
 extern void init_AVR_DUART(void);
 
 int checkboard (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
        char *p;
        bd_t *bd = gd->bd;
 
@@ -52,7 +54,7 @@ int checkboard (void)
 
 phys_size_t initdram (int board_type)
 {
-       return (get_ram_size(CFG_SDRAM_BASE, CFG_MAX_RAM_SIZE));
+       return (get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_MAX_RAM_SIZE));
 }
 
 /*
@@ -128,3 +130,8 @@ int board_early_init_f (void)
        out_8((volatile u8*)UART_DCR, 1);
        return 0;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}