]> git.sur5r.net Git - u-boot/blobdiff - board/armadillo/flash.c
smdk6400: Use CONFIG_FLASH_CFI_DRIVER
[u-boot] / board / armadillo / flash.c
index f25a8e7bba62483baf930813f7702c19a0b5f4a7..8518856cb1c3566c062893cb595a2ee5d1864f1a 100644 (file)
@@ -118,7 +118,9 @@ void flash_print_info (flash_info_t * info)
        }
        printf ("\n");
 
-      Done:
+/*
+Done:  ;
+*/
 }
 
 /*
@@ -277,7 +279,7 @@ int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
        int i, rc;
 
        wp = (addr & ~1);       /* get lower word aligned address */
-       printf ("Writing %d short data to 0x%p from 0x%p.\n ", cnt, wp, src);
+       printf ("Writing %lu short data to 0x%lx from 0x%p.\n ", cnt, wp, src);
 
        /*
         * handle unaligned start bytes