common/env_common: Add CONFIG_SILENT_CONSOLE_AT_BOOT env option
PATCH 1/4 common/env_common: Add CONFIG_SILENT_CONSOLE_AT_BOOT env option
In reply to a message not in the archiveUgh. I just messed that up. Ignore this patch series.
-M
Quoted 45 lines · On Thu, Jun 2, 2011 at 2:27 PM, <[email protected]> wrote:
From: Matthew McClintock <[email protected]>
Just setting
CONFIG_SILENT_CONSOLEdoes not make the CONSOLE silent without the silent env variable set. This adds a new define to add this to the default environment easilySigned-off-by Matthew McClintock <[email protected]>---
?README ? ? ? ? ? ? ?| ? ?4 ++++
?common/env_common.c | ? ?3 +++
?2 files changed, 7 insertions(+), 0 deletions(-)README +0
-0@@ -546,6 +546,10 @@ The following options need to be configured:? ? ? ? ? ? ? ?the "silent" environment variable. See ? ? ? ? ? ? ? ?doc/README.silent for more information.
+ ? ? ? ? ? ? ? When
CONFIG_SILENT_CONSOLE_AT_BOOTis set u-boot
+ ? ? ? ? ? ? ? will be built with silent defined in the default
+ ? ? ? ? ? ? ? environment for a completly silent console at boot +
?- Console Baudrate:
? ? ? ? ? ? ? ?CONFIG_BAUDRATE - in bps
? ? ? ? ? ? ? ?Select one of the baudrates listed incommon/env_common.c +0
-0@@ -123,6 +123,9 @@ uchar default_environment[] = { ?#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)? ? ? ?"pcidelay=" ? ?
MK_STR(CONFIG_PCI_BOOTDELAY)? ?"\0" ?#endifcommon/env_common.c +3
-0+#ifdef CONFIG_SILENT_CONSOLE_AT_BOOT + ? ? ? "silent=1\0" +#endif ?#ifdef ?CONFIG_EXTRA_ENV_SETTINGS
? ? ? ?CONFIG_EXTRA_ENV_SETTINGS
?#endif
--
1.7.5