]> git.sur5r.net Git - u-boot/blobdiff - board/ids8247/ids8247.c
Update MTD to that of Linux 2.6.22.1
[u-boot] / board / ids8247 / ids8247.c
index 7176770f6854731c7b9871bc5598c987f44a594d..065014a11e42d78fde80ab5fa89fe669e1a76079 100644 (file)
@@ -276,7 +276,7 @@ static long int try_init (volatile memctl8260_t * memctl, ulong sdmr,
        return (size);
 }
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        volatile immap_t *immap = (immap_t *) CFG_IMMR;
        volatile memctl8260_t *memctl = &immap->im_memctl;
@@ -321,7 +321,7 @@ nand_init (void)
        printf ("%4lu MB\n", totlen >>20);
 }
 
-#endif /* CFG_CMD_NAND */
+#endif /* CONFIG_CMD_NAND */
 
 #if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
 /*
@@ -334,7 +334,7 @@ void ft_blob_update(void *blob, bd_t *bd)
        ret = fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 
        if (ret < 0) {
-               printf("ft_blob_update): cannot set /memory/reg "
+               printf("ft_blob_update(): cannot set /memory/reg "
                        "property err:%s\n", fdt_strerror(ret));
        }
 }