public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Warren <twarren.nvidia@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/7] Tegra30: Add CPU (armv7) files
Date: Tue,  2 Oct 2012 15:45:50 -0700	[thread overview]
Message-ID: <1349217955-8729-3-git-send-email-twarren@nvidia.com> (raw)
In-Reply-To: <1349217955-8729-1-git-send-email-twarren@nvidia.com>

These files are for code that runs on the CPU (A9) on T30 boards.
At this time, it's only the RCM (Recovery Mode) cmd file, which
is in tegra-common. As T30-specific run-time code is added, it'll
go here.

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 arch/arm/cpu/{arm720t => armv7}/tegra30/Makefile  |   13 ++++++-------
 arch/arm/cpu/{arm720t => armv7}/tegra30/config.mk |    2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)
 copy arch/arm/cpu/{arm720t => armv7}/tegra30/Makefile (86%)
 copy arch/arm/cpu/{arm720t => armv7}/tegra30/config.mk (95%)

diff --git a/arch/arm/cpu/arm720t/tegra30/Makefile b/arch/arm/cpu/armv7/tegra30/Makefile
similarity index 86%
copy from arch/arm/cpu/arm720t/tegra30/Makefile
copy to arch/arm/cpu/armv7/tegra30/Makefile
index bd96997..b04732d 100644
--- a/arch/arm/cpu/arm720t/tegra30/Makefile
+++ b/arch/arm/cpu/armv7/tegra30/Makefile
@@ -1,7 +1,7 @@
 #
 # Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
 #
-# (C) Copyright 2000-2008
+# (C) Copyright 2000-2003
 # Wolfgang Denk, DENX Software Engineering, wd at denx.de.
 #
 # This program is free software; you can redistribute it and/or modify it
@@ -19,14 +19,13 @@
 
 include $(TOPDIR)/config.mk
 
-LIB	= $(obj)lib$(SOC).o
+LIB	=  $(obj)lib$(SOC).o
 
-COBJS-y	+= cpu.o
+COBJS	:= $(COBJS-y)
+SRCS	:= $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(COBJS))
 
-SRCS	:= $(COBJS-y:.o=.c)
-OBJS	:= $(addprefix $(obj),$(COBJS-y))
-
-all:	$(obj).depend $(LIB)
+all:	 $(obj).depend $(LIB)
 
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
diff --git a/arch/arm/cpu/arm720t/tegra30/config.mk b/arch/arm/cpu/armv7/tegra30/config.mk
similarity index 95%
copy from arch/arm/cpu/arm720t/tegra30/config.mk
copy to arch/arm/cpu/armv7/tegra30/config.mk
index 2388c56..719ca81 100644
--- a/arch/arm/cpu/arm720t/tegra30/config.mk
+++ b/arch/arm/cpu/armv7/tegra30/config.mk
@@ -16,4 +16,4 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
-USE_PRIVATE_LIBGCC = yes
+CONFIG_ARCH_DEVICE_TREE := tegra30
-- 
1.7.0.4

  parent reply	other threads:[~2012-10-02 22:45 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 22:45 [U-Boot] [PATCH 0/7] Add T30 Cardhu support Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 1/7] Tegra30: Add AVP (arm720t) files Tom Warren
2012-10-03 18:23   ` Stephen Warren
2012-10-03 20:15     ` Tom Warren
2012-10-04  1:11     ` Simon Glass
2012-10-04  0:57   ` Simon Glass
2012-10-02 22:45 ` Tom Warren [this message]
2012-10-03 18:26   ` [U-Boot] [PATCH 2/7] Tegra30: Add CPU (armv7) files Stephen Warren
2012-10-03 20:03     ` Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 3/7] Tegra30: Add common CPU (shared) files Tom Warren
2012-10-03 19:49   ` Stephen Warren
2012-10-03 20:27     ` Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 4/7] Tegra30: Add arch-tegra30 include files Tom Warren
2012-10-03 20:31   ` Stephen Warren
2012-10-03 21:48     ` Tom Warren
2012-10-03 22:32       ` Stephen Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files Tom Warren
2012-10-03  0:07   ` Lucas Stach
2012-10-03 16:05     ` Tom Warren
2012-10-03 20:36   ` Stephen Warren
2012-10-03 21:49     ` Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 6/7] Tegra30: Add generic Tegra30 build support Tom Warren
2012-10-03 20:38   ` Stephen Warren
2012-10-03 21:56     ` Tom Warren
2012-10-03 22:27       ` Stephen Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 7/7] Tegra30: Add/enable Cardhu build (T30 reference board) Tom Warren
2012-10-03 20:46   ` Stephen Warren
2012-10-03 21:05     ` Tom Warren
2012-10-03 16:46 ` [U-Boot] [PATCH 0/7] Add T30 Cardhu support Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349217955-8729-3-git-send-email-twarren@nvidia.com \
    --to=twarren.nvidia@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox