From patchwork Thu Feb 16 14:49:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 141605 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2D746B6EF1 for ; Fri, 17 Feb 2012 01:49:40 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626Ab2BPOtj (ORCPT ); Thu, 16 Feb 2012 09:49:39 -0500 Received: from mail-gy0-f202.google.com ([209.85.160.202]:35294 "EHLO mail-gy0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752564Ab2BPOti (ORCPT ); Thu, 16 Feb 2012 09:49:38 -0500 Received: by ghrr17 with SMTP id r17so285917ghr.1 for ; Thu, 16 Feb 2012 06:49:37 -0800 (PST) Received: by 10.236.116.101 with SMTP id f65mr4953981yhh.0.1329403777962; Thu, 16 Feb 2012 06:49:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.116.101 with SMTP id f65mr4953945yhh.0.1329403777879; Thu, 16 Feb 2012 06:49:37 -0800 (PST) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id b68si3441157yho.2.2012.02.16.06.49.37 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 16 Feb 2012 06:49:37 -0800 (PST) Received: from sglass.mtv.corp.google.com (sglass.mtv.corp.google.com [172.22.72.144]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id C1BBE1E005A; Thu, 16 Feb 2012 06:49:37 -0800 (PST) Received: by sglass.mtv.corp.google.com (Postfix, from userid 121222) id A380A140711; Thu, 16 Feb 2012 06:49:37 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Wolfgang Denk , Albert ARIBAUD , Graeme Russ , Mike Frysinger , Simon Glass , Tom Warren , Stephen Warren , linux-tegra@vger.kernel.org Subject: [PATCH v3 27/28] tegra: Mark board init files for ARMv4t Date: Thu, 16 Feb 2012 06:49:14 -0800 Message-Id: <1329403755-6396-28-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1329403755-6396-1-git-send-email-sjg@chromium.org> References: <1329403755-6396-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQkgrFAQVkUTp1c+5PZ8jg7sZDHSvagLUBHVrR4XEPcIUvoo3uzzKfM9UnFpS9gl/Hn29nlbb8rKj6xMjNHTLOcr53DTs4gU1YHzCLsYZULKwKxIuBzI9UUGEMdgN6j1xYgnT1+xI2p4HLg7er6zDqYuAdS4JQEyINRWccfH6Nv4j9sy8yI= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Since Tegra executes early code on an ARMv4T (but the rest on ARMv7) we must mark the new board init files for compilation with ARMv4t architecture. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/config.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra2/config.mk b/arch/arm/cpu/armv7/tegra2/config.mk index 2303dba..4b43dde 100644 --- a/arch/arm/cpu/armv7/tegra2/config.mk +++ b/arch/arm/cpu/armv7/tegra2/config.mk @@ -28,6 +28,8 @@ # file with compatible flags ifdef CONFIG_TEGRA2 CFLAGS_arch/arm/lib/board.o += -march=armv4t +CFLAGS_common/board_f.o += -march=armv4t +CFLAGS_lib/initcall.o += -march=armv4t endif USE_PRIVATE_LIBGCC = yes