[U-Boot] [PATCH 2/7] Tegra30: Add CPU (armv7) files

Tom Warren twarren.nvidia at gmail.com
Wed Oct 3 00:45:50 CEST 2012


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 at 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



More information about the U-Boot mailing list