Message ID | 1463256198-3829-4-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show |
On 14 May 2016 at 14:02, Simon Glass <sjg@chromium.org> wrote: > This adds to code size and is not needed, since hang() will print a message. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > drivers/misc/reset-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm.
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(); }
This adds to code size and is not needed, since hang() will print a message. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/misc/reset-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)