mtd: nand: mxs_nand_spl: Remove nand size print
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 5 Jan 2018 07:04:23 +0000 (12:34 +0530)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jan 2018 16:37:12 +0000 (17:37 +0100)
It is not much needed to print nand size in SPL during nand boot,
and most of nand spl drivers doesn't print the same.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/nand/mxs_nand_spl.c

index b6c9208140fbe9dd62b5a1083d0cc6e0a957248e..910f76dd9d4b7126bf3851e33c75ceff72c35c76 100644 (file)
@@ -153,7 +153,6 @@ static int mxs_nand_init(void)
        nand_chip.numchips = 1;
 
        /* identify flash device */
-       puts(": ");
        if (mxs_flash_ident(mtd)) {
                printf("Failed to identify\n");
                return -1;
@@ -167,7 +166,6 @@ static int mxs_nand_init(void)
        mtd->size = nand_chip.chipsize;
        nand_chip.scan_bbt(mtd);
 
-       printf("%llu MiB\n", (mtd->size / (1024 * 1024)));
        return 0;
 }