From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Thompson Date: Tue, 05 Apr 2011 15:07:47 +0100 Subject: [U-Boot] CONFIG_SILENT_CONSOLE not working with NAND env Message-ID: <4D9B2233.5060506@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de common/console.c has this function: /* Called before relocation - use serial functions */ int console_init_f(void) { gd->have_console = 1; #ifdef CONFIG_SILENT_CONSOLE if (getenv("silent") != NULL) gd->flags |= GD_FLG_SILENT; #endif return 0; } I have defined CONFIG_SILENT_CONSOLE and set "silent" in my NAND env, but the SILENT flag doesn't get set. I suspect this function is called way too early for NAND env to be available. I can set the flag unconditionally and that works fine, but I don't think that that will make a patch worthy of submission...? Any thoughts? Thanks, Nick.