[U-Boot] [PATCH] tegra: override compiler flags for cmd_nvedit
Wolfgang Denk
wd at denx.de
Sat May 5 22:01:22 CEST 2012
Dear Allen Martin,
In message <1336163380-29679-1-git-send-email-amartin at nvidia.com> you 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 <amartin at 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.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I find this a nice feature but it is not according to the documen-
tation. Or is it a BUG?" "Let's call it an accidental feature. :-)"
- Larry Wall in <6909 at jpl-devvax.JPL.NASA.GOV>
More information about the U-Boot
mailing list