]> git.sur5r.net Git - u-boot/blobdiff - board/svm_sc8xx/svm_sc8xx.c
sh: Cleanup source code of MS7720SE
[u-boot] / board / svm_sc8xx / svm_sc8xx.c
index 9bb9fd019f76f3b9c84a1c211426894979effd99..06fb18b344c88cddb222d26160ce4f4638e71dfc 100644 (file)
@@ -100,7 +100,7 @@ int checkboard (void)
 
 /* ------------------------------------------------------------------------- */
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        volatile immap_t     *immap  = (immap_t *)CFG_IMMR;
        volatile memctl8xx_t *memctl = &immap->im_memctl;
@@ -153,7 +153,7 @@ long int initdram (int board_type)
        return (size_b0 );
 }
 
-#if (CONFIG_COMMANDS & CFG_CMD_DOC)
+#if defined(CONFIG_CMD_DOC)
 extern void doc_probe (ulong physadr);
 void doc_init (void)
 {