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

Wolfgang Denk wd at denx.de
Wed Feb 25 00:03:31 CET 2004


In message <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAlCKSiL+GB0uT9xr++jxiXsKAAAAQAAAAZcRP1LMsb0WNgS8FwBxRrQEAAAAA at 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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Marriage is the sole cause of divorce.




More information about the U-Boot mailing list