[U-Boot] [Announce][RFC] CFG_ macro renaming

Luigi 'Comio' Mantellini luigi.mantellini.ml at gmail.com
Sat Sep 13 23:38:51 CEST 2008


Hi Jean-Christophe,
Hi Wolfgang,

Can you create a "deprecated_cfg.h" file that contains directives like:

#ifdef CFG_OLD_PARAMATER
#error "CFG_OLD_PARAMETER renamed! Use CONIFIG_NEW_PARAMETER instead!"
#endif

for each CFG_* renamed directive?

This should avoid to "lost" some configuration parameters during this 
transitory.phase. this file should be included by common.h for example.

my2cents

best regards,

luigi


Il martedì 02 settembre 2008 02:59:58 Jean-Christophe PLAGNIOL-VILLARD ha 
scritto:
> > > 	2) Extra config
> > >
> > > 	For memory settings CONFIG_MEM_ or CONFIG_SYS_MEM_
> > >
> > > 	For PCI settings CONFIG_PCI_ or CONFIG_SYS_PCI_
> > >
> > > 	For USB settings CONFIG_USE or CONFIG_SYS_PCI_
> > >
> > > 	For flash settings CONFIG_FLASH or CONFIG_SYS_FLASH_
> > >
> > > 	For nand settins CONFIG_NAND or CONFIG_SYS_NAND_
> > >
> > > 	For dtt settgins CONFIG_DTT or CONFIG_SYS_DTT
> > >
> > > 	etc...
> >
> > Please do not do that, as it will interfere with  a  lot  of  already
> > existing definitions. Stick with CONFIG_SYS_ in general. There may be
> > some  cases  where  your suggestion makes sense, but these need to be
> > carefully hand-selected,  i.  e.  this  must  not  be  done  by  some
> > automatically running script.
>
> As you point this part was plain to be done manually.
>
> Best Regards,
> J.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

-- 
Luigi Mantellini
R&D - Software
Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI), Italy
Tel.:  +39 02 5167 2813
Fax:   +39 02 5167 2459
Email: luigi.mantellini at idf-hit.com



More information about the U-Boot mailing list