Patchwork [U-Boot,8/9] cmd_sf: drop device status message when probing

login
register
mail settings
Submitter Mike Frysinger
Date April 12, 2011, 6:35 a.m.
Message ID <1302590128-8721-9-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/90721/
State Accepted
Commit 840ff998895944fc51303cc43fdb258c4f89279c
Headers show

Comments

Mike Frysinger - April 12, 2011, 6:35 a.m.
The common spi flash layer displays useful info when probing, so no
need for us to duplicate that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 common/cmd_sf.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/common/cmd_sf.c b/common/cmd_sf.c
index afbef99..3abc4ff 100644
--- a/common/cmd_sf.c
+++ b/common/cmd_sf.c
@@ -106,9 +106,6 @@  static int do_spi_flash_probe(int argc, char * const argv[])
 		spi_flash_free(flash);
 	flash = new;
 
-	printf("%u KiB %s at %u:%u is now current device\n",
-			flash->size >> 10, flash->name, bus, cs);
-
 	return 0;
 
 usage: