
18 Jul
2009
18 Jul
'09
8:56 p.m.
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