[U-Boot] [PATCH v2 08/15] env: common: Make the debug messages play a little nicer
Maxime Ripard
maxime.ripard at free-electrons.com
Tue Jan 16 09:16:44 UTC 2018
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.
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard at 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 8167ea299264..c633502d68bb 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");
}
if (himport_r(&env_htab, (char *)default_environment,
--
git-series 0.9.1
More information about the U-Boot
mailing list