]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ebony/ebony.c
* Patch by Rune Torgersen, 13 Feb 2003:
[karo-tx-uboot.git] / board / ebony / ebony.c
index 723fad328cefda9886834de21894a652eabe9d78..b36d54224f9b913df4519f55a38b9d897cc42acd 100644 (file)
  */
 
 
-extern long int spd_sdram (void);
-
 #include <common.h>
 #include "ebony.h"
 #include <asm/processor.h>
+#include <spd_sdram.h>
 
 #define BOOT_SMALL_FLASH       32      /* 00100000 */
 #define FLASH_ONBD_N           2       /* 00000010 */
@@ -113,10 +112,9 @@ int checkboard (void)
 long int initdram (int board_type)
 {
        long dram_size = 0;
-       extern long spd_sdram (void);
 
 #if defined(CONFIG_SPD_EEPROM)
-       dram_size = spd_sdram ();
+       dram_size = spd_sdram (0);
 #else
        dram_size = fixed_sdram ();
 #endif