[U-Boot-Users] [PATCH] lkc support for U-Boot

Wolfgang Denk wd at denx.de
Wed Nov 6 18:30:05 CET 2002

In message <200211061235.13992.h.schurig at mn-logistik.de> you wrote:
> One thing that I'd love is
> perl -pi -e 's/CFG_/CONFIG_/g' * */* */*/*

I object against such a global renaming.  At  least  we  should  then
think  about  a new way to make a difference between options that are
user-selectable and such ones where you have to exactly know what you
are doing.

> But it has nothing to do with hardware if I select CFG_CMD_ASKENV or not. Or 
> if I want CFG_LONGHELP or not. That is true for many CFG_ variables, so I 
> guess not much harm is done in renaming them.

You are right - many variable names a re poorly chosen,  disregarding
the original intent of the naming. OTOH options like CFG_LONGHELP may
have  to  do  with  hardware  -  for  example, if there is a hardware
restriction in the maximum size of PPCBoot (like my often quoted  128
kB  EPROM  device)  then  you  cannot use long help, because it would
result in a too big a memory footprint.

I'd rather have such bad names fixed.

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ electronica 2002 in Munich, Nov 12-15, Hall A3, Booth A3.325 

More information about the U-Boot mailing list