[U-Boot] [PATCH 14/17] console: Call overwrite_console before searching for console devices
Simon Glass
sjg at chromium.org
Wed Nov 7 22:28:25 CET 2012
Hi Wolfgang,
On Sat, Nov 3, 2012 at 8:32 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon Glass,
>
> In message <1351902453-27956-15-git-send-email-sjg at chromium.org> you wrote:
>> From: Anton Staaf <robotboy at chromium.org>
>>
>> Move the overwrite_console function call to before the search for
>> the console devices. This lets the board specific function
>> replace the environment variables and have that picked up by the
>> console code.
>
> Can you please explain what "replace the environment variables" means,
> and how this is related to the console code?
It allows the environment variables (e.g. stdin) to be changed by the
overwrite_console function call.
I have had another look at this, and I believe that Allen Warren's
patch last week for Tegra does a similar thing:
http://patchwork.ozlabs.org/patch/196412/
So I think we can drop this patch.
Regards,
Simon
>
> Or what exactly this patch is needed for?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Mike's Law: For a lumber company employing two men and a cut-off saw,
> the marginal product of labor for any number of additional workers
> equals zero until the acquisition of another cut-off saw. Let's not
> even consider a chainsaw.
> - Mike Dennison [You could always schedule the saw, though - ed.]
More information about the U-Boot
mailing list