From 65f1aa116b0f7d4fa7af24cfe1c441f8fd16c6d3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 30 Sep 2013 05:02:45 -0700 Subject: [PATCH] tegra124: Override the -march flag used by the bootblock. The bootblock on the tegra124 runs on the AVP which is uses the armv4t architecture version. BUG=None TEST=With this option set, saw that the compiler no longer emitted instructions which don't work on the AVP. BRANCH=None Change-Id: Ic9c8b34a353e291a02a714d18de0d01f1e3ab4d1 Signed-off-by: Gabe Black Reviewed-on: https://chromium-review.googlesource.com/170996 Reviewed-by: Gabe Black Tested-by: Gabe Black Commit-Queue: Gabe Black --- src/soc/nvidia/tegra124/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/nvidia/tegra124/Makefile.inc b/src/soc/nvidia/tegra124/Makefile.inc index cd0a0696b6..16293c9fc3 100644 --- a/src/soc/nvidia/tegra124/Makefile.inc +++ b/src/soc/nvidia/tegra124/Makefile.inc @@ -1,7 +1,7 @@ CBOOTIMAGE = cbootimage -bootblock-c-ccopts += -marm -bootblock-S-ccopts += -marm +bootblock-c-ccopts += -marm -march=armv4t +bootblock-S-ccopts += -marm -march=armv4t bootblock-y += bootblock.c bootblock-y += bootblock_asm.S