cleaning up the Kconfig menu structure -- the bigger picture
Dan Malek
dan at embeddededge.com
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
8xx/82xx/85xx
unique configuration options in a separate set of menus under
arch/ppc/cpm*
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
basic
drivers are the same, but configuration options and support functions
may
be different. These support and configuration options should be
collected
in a processor type specific place, and set configuration options the
shared
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
rather
not build complex configuration menus that try to keep users from
hurting themselves. The default configuration files are there for a
reason,
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
affected
by this (as I do). At least make an honest attempt at getting it
correct.
Thanks.
-- Dan
More information about the Linuxppc-embedded
mailing list