]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: move NVIDIA common files to arch/arm/mach-tegra
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Apr 2015 01:51:14 +0000 (10:51 +0900)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:46:19 +0000 (09:46 -0700)
All the Tegra boards borrow the files from board/nvidia/common/
directory, i.e., board/nvidia/common/* are not vendor-common files,
but SoC-common files.

Move NVIDIA common files to arch/arm/mach-tegra/ to clean up
Makefiles.

As arch/arm/mach-tegra/board.c already exists, this commit renames
board/nvidia/common/board.c to arch/arm/mach-tegra/board2.c,
expecting they will be consolidated as a second step.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
15 files changed:
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board2.c [moved from board/nvidia/common/board.c with 100% similarity]
arch/arm/mach-tegra/emc.c [moved from board/nvidia/common/emc.c with 100% similarity]
arch/arm/mach-tegra/emc.h [moved from board/nvidia/common/emc.h with 100% similarity]
board/avionic-design/medcom-wide/Makefile
board/avionic-design/plutux/Makefile
board/avionic-design/tec-ng/Makefile
board/avionic-design/tec/Makefile
board/compal/paz00/Makefile
board/compulab/trimslice/Makefile
board/nvidia/common/Makefile [deleted file]
board/nvidia/common/common.mk [deleted file]
board/toradex/apalis_t30/Makefile
board/toradex/colibri_t20/Makefile
board/toradex/colibri_t30/Makefile

index 1a3e24d4361817afb78a5678e7c29699a2f4f357..fefc180b130e976d5a2873da38bbcd7165634080 100644 (file)
@@ -16,7 +16,7 @@ obj-$(CONFIG_PWM_TEGRA) += pwm.o
 endif
 
 obj-y += ap.o
-obj-y += board.o
+obj-y += board.o board2.o
 obj-y += cache.o
 obj-y += clock.o
 obj-y += lowlevel_init.o
@@ -25,6 +25,7 @@ obj-y += powergate.o
 obj-y += xusb-padctl.o
 obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
 obj-$(CONFIG_TEGRA124) += vpr.o
+obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
 
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_ARMV7_PSCI) += psci.o
index bcf7ccfe2acb3957a59540ea302bef9e702c27b4..1351d1fcfc283972ea7d0ee8a54983334a05f2f9 100644 (file)
@@ -8,5 +8,3 @@
 #
 
 obj-y  := ../common/tamonten.o
-
-include $(srctree)/board/nvidia/common/common.mk
index bcf7ccfe2acb3957a59540ea302bef9e702c27b4..1351d1fcfc283972ea7d0ee8a54983334a05f2f9 100644 (file)
@@ -8,5 +8,3 @@
 #
 
 obj-y  := ../common/tamonten.o
-
-include $(srctree)/board/nvidia/common/common.mk
index a556b92e8ed50da6007cc2de2009fd3a0dd89495..8ec9b88130f6846f84653547ed3905b4eca26bb1 100644 (file)
@@ -6,5 +6,3 @@
 #
 
 obj-y  := ../common/tamonten-ng.o
-
-include $(srctree)/board/nvidia/common/common.mk
index bcf7ccfe2acb3957a59540ea302bef9e702c27b4..1351d1fcfc283972ea7d0ee8a54983334a05f2f9 100644 (file)
@@ -8,5 +8,3 @@
 #
 
 obj-y  := ../common/tamonten.o
-
-include $(srctree)/board/nvidia/common/common.mk
index e6a0b29997373d08707ce502823f2074cc1c7365..b5fde8d098928900f9b40a00a1308f632779cbef 100644 (file)
@@ -15,5 +15,3 @@
 #
 
 obj-y  := paz00.o
-
-include $(srctree)/board/nvidia/common/common.mk
index 311eb92d7b9b31bd5c596c252f29ba46dcd0514f..5396b21f6fc096b157836f5eb7aca3e9f70f5270 100644 (file)
@@ -6,5 +6,3 @@
 #
 
 obj-y  := trimslice.o
-
-include $(srctree)/board/nvidia/common/common.mk
diff --git a/board/nvidia/common/Makefile b/board/nvidia/common/Makefile
deleted file mode 100644 (file)
index e3b2651..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright (c) 2011 The Chromium OS Authors.
-# SPDX-License-Identifier:     GPL-2.0+
-
-include $(src)/common.mk
diff --git a/board/nvidia/common/common.mk b/board/nvidia/common/common.mk
deleted file mode 100644 (file)
index 9a9b529..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# common options for all tegra boards
-obj-y  += ../../nvidia/common/board.o
-obj-$(CONFIG_TEGRA_CLOCK_SCALING) += ../../nvidia/common/emc.o
index a968e6b79e48ed65125bc4922719b53a58f83562..0ea3d8f217db798bb172777e7a1d7b0343888451 100644 (file)
@@ -1,6 +1,4 @@
 # Copyright (c) 2014 Marcel Ziswiler
 # SPDX-License-Identifier:      GPL-2.0+
 
-include $(srctree)/board/nvidia/common/common.mk
-
 obj-y  += apalis_t30.o
index 86f78d9d9d645dfd334da021404a4e64bb5aca1a..e5e71ac466e0cceb0c6b71335ebfe3324d4ca549 100644 (file)
@@ -4,6 +4,4 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(srctree)/board/nvidia/common/common.mk
-
 obj-y  += colibri_t20.o
index 3d58a4b2c1cff3e8d6e3fa877357dd7eb7d7e9f9..4242902daecee20c8246de5c32050bfc0408a88a 100644 (file)
@@ -1,6 +1,4 @@
 # Copyright (c) 2013-2014 Stefan Agner
 # SPDX-License-Identifier:      GPL-2.0+
 
-include $(srctree)/board/nvidia/common/common.mk
-
 obj-y  += colibri_t30.o