Thread (16 messages) flat view 16 messages, 5 authors, 2007-03-16

Re: [PATCH][POWERPC] QE: Make QUICC Engine support a configurableoption

From: Kumar Gala <hidden>
Date: 2007-03-15 05:41:06

On Mar 15, 2007, at 12:39 AM, Li Yang-r58472 wrote:
quoted
-----Original Message-----
From: Kumar Gala [mailto:galak@kernel.crashing.org]
Sent: Thursday, March 15, 2007 11:49 AM
To: Li Yang-r58472
Cc: Tabi Timur-B04825; Phillips Kim-R1AAHA; linuxppc-dev@ozlabs.org
Subject: Re: [PATCH][POWERPC] QE: Make QUICC Engine support a
configurableoption
quoted

On Mar 14, 2007, at 10:02 PM, Li Yang-r58472 wrote:
quoted
quoted
-----Original Message-----
From: linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org
[mailto:linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org] On
Behalf
Of Timur
quoted
Tabi
Sent: Thursday, March 15, 2007 3:36 AM
To: Phillips Kim-R1AAHA
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH][POWERPC] QE: Make QUICC Engine support a
configurableoption
quoted
Kim Phillips wrote:
quoted
On Wed, 14 Mar 2007 13:15:05 -0500 (CDT)
Kumar Gala [off-list ref] wrote:
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
works
on 85xx.
quoted
However,
the patch still needs changes.  To allow each CPU family to have
its
quoted
quoted
own QE option,
quoted
we'll
need to define something like QUICC_ENGINE_83xx and
QUICC_ENGINE_85xx,
and then
quoted
have
something like this:

config QUICC_ENGINE
	bool
	default y if QUICC_ENGINE_83xx || QUICC_ENGINE_85xx
I don't think we need these new options.  If there are differences
between the two SOC versions, presumably not too many, we can
address
quoted
quoted
them in device tree.  It's better to leave the QUICC_ENGINE option
at
quoted
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.
It is a chip feature rather than board.  And we won't need the two
redundant options then.
Both of those are features of the Core processor, not the platform.

I'd prefer this be a platform option.  (I'm not a fan of the  
duplication, but its minor)

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help