]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/jse/sdram.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / jse / sdram.c
index 9060d979d0a636b1d67bfec65edd5b7269e74204..a1f526de6ff1c2113002850e257b905ef3434340 100755 (executable)
@@ -30,7 +30,7 @@
  * in lib_ppc/board.c to initialize the memory and return what I
  * found.
  */
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        /* Configure the SDRAMS */
 
@@ -151,7 +151,7 @@ int testdram (void)
        /* Start memory test. */
        printf ("test: %u MB - ", SDRAM_LEN / 1048576);
 
-       sdram = (unsigned long *) CFG_SDRAM_BASE;
+       sdram = (unsigned long *) CONFIG_SYS_SDRAM_BASE;
 
        printf ("write - ");
        for (idx = 2; idx < SDRAM_LEN / 4; idx += 2) {