[U-Boot] [RFC] CONFIG naming convetion

Mike Frysinger vapier at gentoo.org
Sat Jul 18 20:56:18 CEST 2009


On Saturday 18 July 2009 07:03:38 Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi all,
>
> 	Currently we have a mess in the drivers CONFIG naming convention
> 	as example on I2C we have
> 	CONFIG_I2C_XXXXX
> 	CONFIG_DRIVER_XXX_I2C
> 	CONFIG_XXXX_I2C
> 	CONFIG_SYS_I2C_XXXX
>
> 	I think it will good to have common and clean naming convention
> 	so I'll propose we use this one
> 	CONFIG_namespace_XXXXX
> 	and
> 	CONFIG_SYS_namespace_XXXXX
>
> 	so it will resutly for I2C to this
>
> 	CONFIG_I2C_XXXXX
> 	CONFIG_SYS_I2C_XXXX
>
> 	and the Makefile and KConfig it will be easier to sort and read

are there really any guidelines on what "CONFIG_SYS_" is for ?  i havent 
really figured out what "_SYS_" is supposed to indicate, so the new proposed 
naming is just as confusing imo.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090718/734999c1/attachment.pgp 


More information about the U-Boot mailing list