All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: optimize for FA526 if toolchain supports it
@ 2012-04-23 12:31 Florian Fainelli
  2012-04-23 13:15 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2012-04-23 12:31 UTC (permalink / raw)
  To: linux-arm-kernel

Currently, when we are targetting a Farady FA526-based system
the toolchain will use the arm9tdmi mtune option of gcc, gcc > 4.6
supports the FA526 CPU, and allow us to optimize for it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 arch/arm/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 047a207..5b0eafe 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -82,7 +82,7 @@ tune-$(CONFIG_CPU_ARM920T)	:=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_ARM922T)	:=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_ARM925T)	:=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_ARM926T)	:=-mtune=arm9tdmi
-tune-$(CONFIG_CPU_FA526)	:=-mtune=arm9tdmi
+tune-$(CONFIG_CPU_FA526)	:=$(call cc-option,-mtune=fa526,-mtune=arm9tdmi)
 tune-$(CONFIG_CPU_SA110)	:=-mtune=strongarm110
 tune-$(CONFIG_CPU_SA1100)	:=-mtune=strongarm1100
 tune-$(CONFIG_CPU_XSCALE)	:=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: optimize for FA526 if toolchain supports it
  2012-04-23 12:31 [PATCH] ARM: optimize for FA526 if toolchain supports it Florian Fainelli
@ 2012-04-23 13:15 ` Arnd Bergmann
  2012-04-23 14:06   ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2012-04-23 13:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 23 April 2012, Florian Fainelli wrote:
> Currently, when we are targetting a Farady FA526-based system
> the toolchain will use the arm9tdmi mtune option of gcc, gcc > 4.6
> supports the FA526 CPU, and allow us to optimize for it.
> 
> Signed-off-by: Florian Fainelli <florian@openwrt.org>

No objections to the patch, but a question out of curiosity:

Is this the regular gemini platform that you are working on,
or something else? Do you have other platform support patches
that you are planning to submit for this?

	Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: optimize for FA526 if toolchain supports it
  2012-04-23 13:15 ` Arnd Bergmann
@ 2012-04-23 14:06   ` Florian Fainelli
  2012-04-23 15:02     ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2012-04-23 14:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Arnd,

Le 04/23/12 15:15, Arnd Bergmann a ?crit :
> On Monday 23 April 2012, Florian Fainelli wrote:
>> Currently, when we are targetting a Farady FA526-based system
>> the toolchain will use the arm9tdmi mtune option of gcc, gcc>  4.6
>> supports the FA526 CPU, and allow us to optimize for it.
>>
>> Signed-off-by: Florian Fainelli<florian@openwrt.org>
> No objections to the patch, but a question out of curiosity:
>
> Is this the regular gemini platform that you are working on,
> or something else? Do you have other platform support patches
> that you are planning to submit for this?

I need this on a different platform (Moschip MCS814x), which I will be 
submitting once I have all the bits working and converted to device tree.
--
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: optimize for FA526 if toolchain supports it
  2012-04-23 14:06   ` Florian Fainelli
@ 2012-04-23 15:02     ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2012-04-23 15:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 23 April 2012, Florian Fainelli wrote:
> Le 04/23/12 15:15, Arnd Bergmann a ?crit :
> > On Monday 23 April 2012, Florian Fainelli wrote:
> >> Currently, when we are targetting a Farady FA526-based system
> >> the toolchain will use the arm9tdmi mtune option of gcc, gcc>  4.6
> >> supports the FA526 CPU, and allow us to optimize for it.
> >>
> >> Signed-off-by: Florian Fainelli<florian@openwrt.org>
> > No objections to the patch, but a question out of curiosity:
> >
> > Is this the regular gemini platform that you are working on,
> > or something else? Do you have other platform support patches
> > that you are planning to submit for this?
> 
> I need this on a different platform (Moschip MCS814x), which I will be 
> submitting once I have all the bits working and converted to device tree.

Ok, good to know. 

Thanks,

	Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-23 15:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23 12:31 [PATCH] ARM: optimize for FA526 if toolchain supports it Florian Fainelli
2012-04-23 13:15 ` Arnd Bergmann
2012-04-23 14:06   ` Florian Fainelli
2012-04-23 15:02     ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.