[U-Boot-Users] Adding is_console_quiet() to support runtime changes in console output

Product:
- u-boot
Version:
- 1.0.2
CHANGELOG:
* Patch by Jon Diekema, 24 Jeb 2004: - Adding is_console_quiet() to support runtime changes in console output
CVS Comments:
- Adding the CFG_CONSOLE_IS_QUIET option to support runtime changes in console output. The is_console_quiet() function is used to determine the status of quiet mode. Quiet mode is based on the value of the "quiet" environment variable. Non-zero values indicate that quiet mode is active.
Patched files:
- README - include/console.h - common/console.c - common/cmd_nvedit.c

In message !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAlCKSiL+GB0uT9xr++jxiXsKAAAAQAAAAZcRP1LMsb0WNgS8FwBxRrQEAAAAA@cideas.com you wrote:
- Patch by Jon Diekema, 24 Jeb 2004:
- Adding is_console_quiet() to support runtime changes in console output
CVS Comments:
- Adding the CFG_CONSOLE_IS_QUIET option to support runtime changes in console output. The is_console_quiet() function is used to determine the status of quiet mode. Quiet mode is based on the value of the "quiet" environment variable. Non-zero values indicate that quiet mode is active.
Can you please explain what you are actually trying to do? From your description it sounds as if a simple "if (getenv("quiet") != 0)" is all what's needed, but your code looks muchm ore complicated, and I cannot make head or tails of it. What is all this "quiet_level" and QUIET_LEVEL_* stuff?
Best regards,
Wolfgang Denk
participants (2)
-
Jon Diekema
-
Wolfgang Denk