cleaning up the Kconfig menu structure -- the bigger picture

Dan Malek dan at
Sat Oct 9 01:31:05 EST 2004

On Oct 8, 2004, at 7:16 AM, Robert P. J. Day wrote:

> now, is this the right place for configuring CPM SCC/SMC serial port 
> support?  sure, some people might say.  after all, it's serial port 
> stuff, it should be under "Serial drivers".  makes perfect sense, 
> right?

Not exactly.  At one point we decided to keep the CPM and other 
unique configuration options in a separate set of menus under 
as appropriate.  There may (usually will) be drivers and support unique 
to these
processors that will always simply continue to live there.  We decided 
to not
scatter the configuration options about, placing the sharable drivers 
in the
standard places, but the configuration local.  One reason for this is 
some of
these drivers may be shared by several Freescale processors, as they are
starting to use these peripheral blocks in more varied processors.  The 
drivers are the same, but configuration options and support functions 
be different.  These support and configuration options should be 
in a processor type specific place, and set configuration options the 
drivers will use as necessary.

Once again I'll add the observation that people using these processors
have to know how the boards are configured and to select the proper
options.  There is lots of variation among the configurations and I'd 
not build complex configuration menus that try to keep users from
hurting themselves.  The default configuration files are there for a 
let's use them to assist people (and keep them up to date).

If you are making changes to configuration options, it would be nice if
you would also at least regenerate all default configuration files 
by this (as I do).  At least make an honest attempt at getting it 


	-- Dan

More information about the Linuxppc-embedded mailing list