[U-Boot] [PATCH 08/14] env: common: Make the debug messages play a little nicer

Maxime Ripard
2017-11-28T10:24:43Z

Since we have global messages to indicate what's going on, the custom
messages in the environment drivers only make the output less readable.

Make the common code play a little nicer by removing all the extra output
in the standard case.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
env/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/env/common.c b/env/common.c
index 70715bb6e756..fb66432bdc81 100644
--- a/env/common.c
+++ b/env/common.c
@@ -78,7 +78,7 @@ void set_default_env(const char *s)
puts(s);
}
} else {
- puts("Using default environment\n\n");
+ debug("Using default environment\n\n");
}

if (himport_r(&env_htab, (char *)default_environment,
--
git-series 0.9.1