Skip to content
Snippets Groups Projects
Commit f3717ac5 authored by Allen Martin's avatar Allen Martin Committed by Albert ARIBAUD
Browse files

tegra: override compiler flags for low level init code


Override -march setting for tegra to -march=armv4t for files that are
necessary for low level init on tegra.

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 are calls to getenv_ulong() and memset() that cause an
illegal instruction exception if compiled for armv7.

Signed-off-by: default avatarAllen Martin <amartin@nvidia.com>
Tested-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent 27c4a331
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment