RE: [PATCH][POWERPC] QE: Make QUICC Engine support a configurableoption
From: Li Yang-r58472 <hidden>
Date: 2007-03-15 06:27:47
quoted
quoted
quoted
quoted
quoted
quoted
arch/powerpc/Kconfig | 8 -------- arch/powerpc/platforms/83xx/Kconfig | 12 ++++++++++-- 2 files changed, 10 insertions(+), 10 deletions(-)What about 85xx QE support?Kumar and I talked about it. 85xx support will be added when QE workson 85xx.quoted
However, the patch still needs changes. To allow each CPU family to haveitsquoted
quoted
own QE option,quoted
we'll need to define something like QUICC_ENGINE_83xx and QUICC_ENGINE_85xx,and thenquoted
have something like this: config QUICC_ENGINE bool default y if QUICC_ENGINE_83xx || QUICC_ENGINE_85xxI don't think we need these new options. If there are differences between the two SOC versions, presumably not too many, we canaddressquoted
quoted
them in device tree. It's better to leave the QUICC_ENGINE optionatquoted
quoted
arch/powerpc/Kconfig level, IMHO.The issue isn't dealing with differences between 83xx/85xx. Its allowing the choice for only those two subarchs.If you want to make it configurable, I suggest we put it under the "Processor Support" menu in arch/powerpc/Kconfig like Altivec and
SPE.
quoted
It is a chip feature rather than board. And we won't need the two redundant options then.=20 Both of those are features of the Core processor, not the platform. =20 I'd prefer this be a platform option. (I'm not a fan of the duplication, but its minor)
Well, that depends on how we define processor. Is co-processor also a processor? =20 QE is so generic that can be used across different sub-archs maybe even archs. Why doesn't it deserve a place out of "platform support" menu? An option in the top menu is another choice. On another thought, it is very unlikely that user chooses a more expensive chip with QE and won't use it. So make it non-configurable and be selected automatically is not a bad idea for me. - Leo