[U-Boot] [RFC] CONFIG naming convetion

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Jul 18 13:03:38 CEST 2009


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

Best Regards,
J.


More information about the U-Boot mailing list