[U-Boot] [PATCH] Add bootstrap command

Wolfgang Denk
2009-07-16T22:11:57Z

Dear Dave Mitchell,

In message <4A5F8A1D.4030701@gmail.com> you wrote:
>
> > Please find a better description (avoiding "bootstrap"), and then
> > chose a descriptive name.
>
> Keep in mind the processor UM documentation section that covers these
> boot methods is labeled "Bootstrap Operations". It refers the registers
> that the EEPROM values populate as "bootstrap registers", etc.

Yes, I know. But then, bootstrapping [1] is really a name with a
_very_ fuzzy meaning. It can be anything. The fact thay it was chosen
in the UM documentation does't make it better - in U-Boot context I
think about other activities, and in Linux context yet about other
things.

> There is some logic in tying the section of the processor manual to the
> command. Whatever the command ends up being labeled, it would be nice if
> its purpose was clear to those who actually work in 4xx space.

We are changing the CPU configuration, right? It has nothing to do
with actually booting or bootstrapping? We are setting parameters that
will be used by the CPU when it comes up out of reset, that's all.

So maybe we call this config_cpu ?

> Not to mention there is documentation referencing the current commands
> used by the evaluation platforms.

Documentation should be updated when new software versions become
available - that's a matter of fact.

[1] http://en.wikipedia.org/wiki/Bootstrap

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
It is impractical for the standard to attempt to constrain the
behavior of code that does not obey the constraints of the standard.
- Doug Gwyn