From 150c24936b70ce36e11069038ba8e955704cab3a Mon Sep 17 00:00:00 2001 From: Tom Warren Date: Wed, 19 Sep 2012 15:50:56 -0700 Subject: Tegra20: Move some include files to arch-tegra for sharing with Tegra30 The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h. Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines & structs that will be common between T20 and T30 HW. HW-specific #defines, etc. stay in the 'arch-tegra20' 'root' file. All boards build OK w/MAKEALL -s tegra20. Checkpatch.pl runs clean. Seaboard works OK. Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra-common/spl.c | 12 +++++------- arch/arm/cpu/arm720t/tegra20/cpu.c | 10 +++++----- 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'arch/arm/cpu/arm720t') diff --git a/arch/arm/cpu/arm720t/tegra-common/spl.c b/arch/arm/cpu/arm720t/tegra-common/spl.c index 6c16dce299..3139c65128 100644 --- a/arch/arm/cpu/arm720t/tegra-common/spl.c +++ b/arch/arm/cpu/arm720t/tegra-common/spl.c @@ -25,8 +25,6 @@ #include #include #include -#include -#include #include #include #include @@ -39,13 +37,13 @@ #include "cpu.h" #include -#include -#include #include -#include #include -#include -#include +#include +#include +#include +#include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/cpu/arm720t/tegra20/cpu.c b/arch/arm/cpu/arm720t/tegra20/cpu.c index 8b7293852c..ef7f375e79 100644 --- a/arch/arm/cpu/arm720t/tegra20/cpu.c +++ b/arch/arm/cpu/arm720t/tegra20/cpu.c @@ -21,14 +21,14 @@ * MA 02111-1307 USA */ +#include #include -#include -#include #include -#include #include -#include -#include +#include +#include +#include +#include #include "../tegra-common/cpu.h" /* Returns 1 if the current CPU executing is a Cortex-A9, else 0 */ -- cgit