]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cm-bf537u/cm-bf537u.c
arm920t/at91/timer: replace bss variables by gd
[karo-tx-uboot.git] / board / cm-bf537u / cm-bf537u.c
index 9628e0f949a0d8d2e1120ed0caa67585699ec0bd..4b7e8642c971888697c3acb34d791297df3ef084 100644 (file)
@@ -13,7 +13,7 @@
 #include <netdev.h>
 #include <asm/blackfin.h>
 #include <asm/net.h>
-#include "gpio_cfi_flash.h"
+#include "../cm-bf537e/gpio_cfi_flash.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -24,13 +24,6 @@ int checkboard(void)
        return 0;
 }
 
-phys_size_t initdram(int board_type)
-{
-       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
-       gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
-       return gd->bd->bi_memsize;
-}
-
 #ifdef CONFIG_BFIN_MAC
 static void board_init_enetaddr(uchar *mac_addr)
 {