On Thu, Mar 15, 2007 at 10:19:03AM -0500, Kumar Gala wrote:...
My initial question is that I don't want anyone using CONFIG_QE_83xx
or CONFIG_QE_85xx in code, the second part is if there is a way to
remove duplicating the QE_83xx/QE_85xx options down in platform/8 {3,5}
xx/Kconfig.
What about the following solution:
arch/powerpc/Kconfig.qe:
<-- snip -->
config MACH_SUPPORTS_QE
bool
config QE
bool "QUICC Engine Support"
depends on MACH_SUPPORTS_QE
help
...
<-- snip -->
arch/powerpc/platforms/83xx/Kconfig:
<-- snip -->
...
source arch/powerpc/Kconfig.qe
config PPC_MPC836x
bool
select MACH_SUPPORTS_QE
...
....
<-- snip -->