[U-Boot] [PATCH v2 10/11] New config variable CONFIG_PREMONITOR

Wolfgang Denk
2012-04-29T12:44:18Z

Dear Pali =?ISO-8859-1?Q?Roh=E1r?=,

In message <1886523.MLHYlDJPrM@pali> you wrote:
>
> I need to run some script before monitor code but after menucmd.
> And preboot is called before bootdelay and also before menucmd.
> So I added premonitor which is called before monitor, but after
> bootdelay and menucmd.

What do you mean "after menucmd"? If you use a menu, why not run thse
actions as part of the menu selected commands?

I do not want to add a growing list of locations in common code just
because single boards feel they ned to run commands here or there.

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
As far as the laws of mathematics refer to reality, they are not cer-
tain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein