From patchwork Tue Dec 11 23:34:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Warren X-Patchwork-Id: 205344 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 193092C007B for ; Wed, 12 Dec 2012 10:59:37 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6C61B4A0F0; Wed, 12 Dec 2012 00:59:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id alNx9wu3YhPW; Wed, 12 Dec 2012 00:59:35 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5B6C04A127; Wed, 12 Dec 2012 00:59:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A21E84A127 for ; Wed, 12 Dec 2012 00:59:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nrFM4weNEQv1 for ; Wed, 12 Dec 2012 00:59:22 +0100 (CET) X-Greylist: delayed 1465 seconds by postgrey-1.27 at theia; Wed, 12 Dec 2012 00:59:19 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by theia.denx.de (Postfix) with ESMTPS id 17C694A0F0 for ; Wed, 12 Dec 2012 00:59:19 +0100 (CET) Received: by mail-pb0-f52.google.com with SMTP id ro2so34141pbb.39 for ; Tue, 11 Dec 2012 15:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-nvconfidentiality; bh=oyOzrNQwX9qfHqHL1eoWDjkZV7HsJFVwdUjiwUE6heg=; b=WFnl8YZdnBHXVXqidmMKDj2l2rYmFwkZICQM6BYwWUSxCucSq7wNKR5pjFZjDO0FOh UjvPaKwuoJKFiFKEbgbyU639yeq4rfEkOrKcfixG9UTjFdPBWSiYLRq59QIi2J/Mi8Yw IVOqPWihqjer5d0qrVJMInOaDWh1kyvbm3DvhhzIzJ0lT/ywKjfX9yAJqcc755/zIk25 Hvh8+XUC1+VxmqCTvThaRhdQHyx5NekIIfEWKcImC8Five7EWjEy0xAk9u/Ld2pPPalR LMxe5BdzJ62YckkbAtkknCvuSlaukPwTPPgkMKOZp5hxSF96qG/pLi1IaohmjxJQpI+k UYEA== Received: by 10.66.77.39 with SMTP id p7mr26798paw.8.1355268892562; Tue, 11 Dec 2012 15:34:52 -0800 (PST) Received: from localhost.localdomain (ob1.nvidia.com. [216.228.120.10]) by mx.google.com with ESMTPS id s5sm11017375pay.31.2012.12.11.15.34.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 15:34:51 -0800 (PST) From: Tom Warren To: u-boot@lists.denx.de Date: Tue, 11 Dec 2012 16:34:14 -0700 Message-Id: <1355268858-7868-4-git-send-email-twarren@nvidia.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1355268858-7868-1-git-send-email-twarren@nvidia.com> References: <1355268858-7868-1-git-send-email-twarren@nvidia.com> X-NVConfidentiality: public Cc: swarren@nvidia.com, Tom Warren , twarren.nvidia@gmail.com Subject: [U-Boot] [PATCH V3 3/7] Tegra30: Add CPU (armv7) files X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de These files are for code that runs on the CPU (A9) on T30 boards. At this time, there are no T30-specific ARMV7 files. As T30-specific run-time code is added, it'll go here. Signed-off-by: Tom Warren Reviewed-by: Stephen Warren --- V2: Cleanup whitespace issues V3: Change commit msg arch/arm/cpu/armv7/tegra30/Makefile | 40 ++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/tegra30/config.mk | 19 ++++++++++++++++ 2 files changed, 59 insertions(+), 0 deletions(-) create mode 100644 arch/arm/cpu/armv7/tegra30/Makefile create mode 100644 arch/arm/cpu/armv7/tegra30/config.mk diff --git a/arch/arm/cpu/armv7/tegra30/Makefile b/arch/arm/cpu/armv7/tegra30/Makefile new file mode 100644 index 0000000..04adb52 --- /dev/null +++ b/arch/arm/cpu/armv7/tegra30/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (c) 2010-2012, NVIDIA CORPORATION. All rights reserved. +# +# (C) Copyright 2000-2003 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(SOC).o + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(obj).depend $(LIB) + +$(LIB): $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/arch/arm/cpu/armv7/tegra30/config.mk b/arch/arm/cpu/armv7/tegra30/config.mk new file mode 100644 index 0000000..719ca81 --- /dev/null +++ b/arch/arm/cpu/armv7/tegra30/config.mk @@ -0,0 +1,19 @@ +# +# Copyright (c) 2010-2012, NVIDIA CORPORATION. All rights reserved. +# +# (C) Copyright 2002 +# Gary Jennejohn, DENX Software Engineering, +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +CONFIG_ARCH_DEVICE_TREE := tegra30