Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-24 Thread Albert ARIBAUD
Le 17/03/2011 08:30, Aneesh V a écrit : Albert, On Wednesday 16 March 2011 10:55 PM, Albert ARIBAUD wrote: Le 16/03/2011 09:39, Aneesh V a écrit : [snip ..] Some toolchains in current use (notably the one provided with ELDK 4.2, and possibly others) do not support -march=armv7[-a]. Do we

Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-17 Thread Aneesh V
Albert, On Wednesday 16 March 2011 10:55 PM, Albert ARIBAUD wrote: Le 16/03/2011 09:39, Aneesh V a écrit : [snip ..] Some toolchains in current use (notably the one provided with ELDK 4.2, and possibly others) do not support -march=armv7[-a]. Do we really need armv7 instructions?

Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-16 Thread Aneesh V
On Tuesday 15 March 2011 05:24 PM, Loïc Minier wrote: On Tue, Mar 15, 2011, Aneesh V wrote: Please note that I am enabling armv7-a in the second patch in omap4 config.mk file. The reason I didn't do this here was some ARMv7 SoCs do not want to use -march=armv7-a even if the compiler supports

Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-16 Thread Albert ARIBAUD
Le 16/03/2011 09:39, Aneesh V a écrit : On Tuesday 15 March 2011 05:24 PM, Loïc Minier wrote: On Tue, Mar 15, 2011, Aneesh V wrote: Please note that I am enabling armv7-a in the second patch in omap4 config.mk file. The reason I didn't do this here was some ARMv7 SoCs do not want to use

Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-15 Thread Loïc Minier
On Tue, Mar 15, 2011, Aneesh V wrote: Please note that I am enabling armv7-a in the second patch in omap4 config.mk file. The reason I didn't do this here was some ARMv7 SoCs do not want to use -march=armv7-a even if the compiler supports it. Tegra2 is an example. Please see the below from

[U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-14 Thread Aneesh V
Signed-off-by: Aneesh V ane...@ti.com --- README |9 + arch/arm/cpu/armv7/config.mk |5 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/README b/README index f1547a4..ff3a345 100644 --- a/README +++ b/README @@ -370,6 +370,15 @@ The

Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-14 Thread Loïc Minier
On Mon, Mar 14, 2011, Aneesh V wrote: +- ARM Options: + CONFIG_SYS_THUMB_BUILD + + Use this flag to build U-Boot using the Thumb instruction + set for ARM architectures. Thumb instruction set provides + better code density. For ARM

Re: [U-Boot] [RFC PATCH 1/2] armv7: enable Thumb build for armv7

2011-03-14 Thread Aneesh V
Loic, On Monday 14 March 2011 09:41 PM, Loïc Minier wrote: On Mon, Mar 14, 2011, Aneesh V wrote: +- ARM Options: +CONFIG_SYS_THUMB_BUILD + +Use this flag to build U-Boot using the Thumb instruction +set for ARM architectures. Thumb instruction set