[U-Boot] [PATCH 3/3] mtd: nand: mxs_nand_spl: Remove nand size print
Jagan Teki
jagan at amarulasolutions.com
Fri Jan 5 07:04:23 UTC 2018
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 at amarulasolutions.com>
---
Note: currently it is showing
: 512 MiB can be fixed as
NAND: 512 MiB
but I didn't see any need of showing nand size here.
drivers/mtd/nand/mxs_nand_spl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/nand/mxs_nand_spl.c b/drivers/mtd/nand/mxs_nand_spl.c
index b6c9208..910f76d 100644
--- a/drivers/mtd/nand/mxs_nand_spl.c
+++ b/drivers/mtd/nand/mxs_nand_spl.c
@@ -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;
}
--
2.7.4
More information about the U-Boot
mailing list