diff mbox series

[U-Boot,3/3] mtd: nand: mxs_nand_spl: Remove nand size print

Message ID 1515135863-27478-3-git-send-email-jagan@amarulasolutions.com
State Accepted
Commit ca9d211e2c7801bc3e194d325ece0d3b583b32d2
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/3] board: engicam: Fix to remove legacy board/icorem6_rqs | expand

Commit Message

Jagan Teki Jan. 5, 2018, 7:04 a.m. UTC
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>
---
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 mbox series

Patch

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;
 }