]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print
authorJagan Teki <jagan@openedev.com>
Mon, 2 Jan 2017 23:24:36 +0000 (00:24 +0100)
committerJagan Teki <jagan@openedev.com>
Wed, 4 Jan 2017 15:56:44 +0000 (16:56 +0100)
SPL from nand will print 'NAND' in boot_from_devices based on
the image_loader name, remove the extra 'NAND ' in mxs_nand_spl driver.

Original behaviour:
-------------------
U-Boot SPL 2017.01-rc2-gf84dd8b (Jan 02 2017 - 22:24:19)
Trying to boot from NANDNAND : 512 MiB

After the fix:
-------------
U-Boot SPL 2017.01-rc2-gf84dd8b-dirty (Jan 02 2017 - 23:17:00)
Trying to boot from NAND: 512 MiB

Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/nand/mxs_nand_spl.c

index ff28df4c19ec9e03a76cb42c2d74f5ddd6a31d19..b6c9208140fbe9dd62b5a1083d0cc6e0a957248e 100644 (file)
@@ -153,7 +153,7 @@ static int mxs_nand_init(void)
        nand_chip.numchips = 1;
 
        /* identify flash device */
-       puts("NAND : ");
+       puts(": ");
        if (mxs_flash_ident(mtd)) {
                printf("Failed to identify\n");
                return -1;