From bb1de8877c960b3b3e1c8337730df970b262fd44 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Thu, 4 Oct 2012 14:16:59 -0600 Subject: [PATCH] ARM: tegra: move irammap.h to mach-tegra Nothing outside mach-tegra uses this file, so there's no need for it to be in . Since uncompress.h and debug-macro.S remain in include/mach, they need to include "../../irammap.h" becaue of this change. Both these usages will be removed shortly, when Tegra's DEBUG_LL implementation is updated not to pass information through IRAM. Signed-off-by: Stephen Warren --- arch/arm/mach-tegra/include/mach/debug-macro.S | 2 +- arch/arm/mach-tegra/include/mach/uncompress.h | 3 +-- arch/arm/mach-tegra/{include/mach => }/irammap.h | 0 arch/arm/mach-tegra/reset.c | 3 +-- 4 files changed, 3 insertions(+), 5 deletions(-) rename arch/arm/mach-tegra/{include/mach => }/irammap.h (100%) diff --git a/arch/arm/mach-tegra/include/mach/debug-macro.S b/arch/arm/mach-tegra/include/mach/debug-macro.S index 58a7fa8493e8..44ca7b1d8b8a 100644 --- a/arch/arm/mach-tegra/include/mach/debug-macro.S +++ b/arch/arm/mach-tegra/include/mach/debug-macro.S @@ -27,7 +27,7 @@ #include #include "../../iomap.h" -#include +#include "../../irammap.h" .macro addruart, rp, rv, tmp adr \rp, 99f @ actual addr of 99f diff --git a/arch/arm/mach-tegra/include/mach/uncompress.h b/arch/arm/mach-tegra/include/mach/uncompress.h index 095216c4b564..27725750ca3e 100644 --- a/arch/arm/mach-tegra/include/mach/uncompress.h +++ b/arch/arm/mach-tegra/include/mach/uncompress.h @@ -28,9 +28,8 @@ #include #include -#include - #include "../../iomap.h" +#include "../../irammap.h" #define BIT(x) (1 << (x)) #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) diff --git a/arch/arm/mach-tegra/include/mach/irammap.h b/arch/arm/mach-tegra/irammap.h similarity index 100% rename from arch/arm/mach-tegra/include/mach/irammap.h rename to arch/arm/mach-tegra/irammap.h diff --git a/arch/arm/mach-tegra/reset.c b/arch/arm/mach-tegra/reset.c index 28e51b7803ef..e05da7d10c3b 100644 --- a/arch/arm/mach-tegra/reset.c +++ b/arch/arm/mach-tegra/reset.c @@ -22,9 +22,8 @@ #include #include -#include - #include "iomap.h" +#include "irammap.h" #include "reset.h" #include "fuse.h" -- 2.39.5