]> Git Repo - J-u-boot.git/commitdiff
env: common: Make the debug messages play a little nicer
authorMaxime Ripard <[email protected]>
Tue, 23 Jan 2018 20:16:57 +0000 (21:16 +0100)
committerTom Rini <[email protected]>
Sat, 27 Jan 2018 14:19:11 +0000 (09:19 -0500)
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
env/common.c

index 8167ea299264427248a57f9f2f930df752d18c89..c633502d68bb00b064c48c0f9eda0f165cbff99a 100644 (file)
@@ -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,
This page took 0.034508 seconds and 4 git commands to generate.