]> git.sur5r.net Git - u-boot/blobdiff - board/o2dnt/flash.c
smdk6400: Use CONFIG_FLASH_CFI_DRIVER
[u-boot] / board / o2dnt / flash.c
index dbb49f75ef40514d59f1710e30678ac33550f706..349086ffb52200b246f06af62077b6b2d4ede08f 100644 (file)
@@ -154,7 +154,7 @@ void flash_print_info (flash_info_t *info)
        int i;
        uchar *boottype;
        uchar *bootletter;
-       uchar *fmt;
+       char *fmt;
        uchar botbootletter[] = "B";
        uchar topbootletter[] = "T";
        uchar botboottype[] = "bottom boot sector";
@@ -411,7 +411,7 @@ static int write_data (flash_info_t *info, FPWV *dest, FPW data)
 
        /* Check if Flash is (sufficiently) erased */
        if ((*addr & data) != data) {
-               printf ("not erased at %08lx (%lx)\n", (ulong) addr, *addr);
+               printf ("not erased at %08lx (%x)\n", (ulong) addr, *addr);
                return (2);
        }
        /* Disable interrupts which might cause a timeout here */