On Monday 07 May 2012 12:36:00 Allen Martin wrote:
> On Sat, May 05, 2012 at 01:01:22PM -0700, Wolfgang Denk wrote:
> > Allen Martin wrote:
> > > Override -march setting for tegra to -march=armv4t for cmd_nvedit.c
> > > 
> > > The recent change to use -march=armv7-a for armv7 caused a regression
> > > on tegra because tegra starts boot on a arm7tdmi processor before
> > > transferring control to the cortex-a9.  While still executing on the
> > > arm7tdmi there is a call to getenv_ulong() that causes an illegal
> > > instruction exception if cmd_nvedit is compiled for armv7.
> > > 
> > > Signed-off-by: Allen Martin <amar...@nvidia.com>
> > > ---
> > > 
> > >  common/Makefile |    6 ++++++
> > >  1 file changed, 6 insertions(+)
> > 
> > We definitely do not want to introduce board specific compile
> > options in common code, and especially not on a per-file base.
> 
> The other option is to compile all of tegra armv4t by modifying
> arch/arm/cpu/armv7/config.mk

no it's not.  arch and board config.mk get sourced, so you can put this 
board/arch specific cruft there.  we do it for blackfin boards all the time ... 
see board/bf537-stamp/config.mk for example.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to