[U-Boot] [PATCH 03/20] reset: Drop the reset failure message

Simon Glass sjg at chromium.org
Sat May 14 22:02:54 CEST 2016


This adds to code size and is not needed, since hang() will print a message.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/misc/reset-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/reset-uclass.c b/drivers/misc/reset-uclass.c
index fdb5c6f..52b9e7e 100644
--- a/drivers/misc/reset-uclass.c
+++ b/drivers/misc/reset-uclass.c
@@ -55,7 +55,7 @@ void reset_walk_halt(enum reset_t type)
 		mdelay(100);
 
 	/* Still no reset? Give up */
-	printf("Reset not supported on this platform\n");
+	debug("Reset not supported on this platform\n");
 	hang();
 }
 
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list