[U-Boot] [PATCH 5/5] Add env var giving the board revision

Wolfgang Denk wd at denx.de
Sun Aug 12 23:06:44 CEST 2012


Dear =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?=,

In message <1323086777.2324156.1344780597072.JavaMail.root at advansee.com> you wrote:
> 
> Anyway, when you will have implemented read-only and volatile flags for env
> vars, this patch will no longer be needed. But with the current code, there is
> no way board-specific code can create a board revision env var and make it
> read-only, except with this patch.

Correct, so far we don't support custom read-only variables.  But if
we add these, then in a generic way, and definitely not for a single,
specific variable.   This is a lesson we learned form experience.

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
The number you have dialed is imaginary. Please divide by 0  and  try
again.


More information about the U-Boot mailing list