]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: move iomap.h to mach-tegra
authorStephen Warren <swarren@nvidia.com>
Thu, 4 Oct 2012 20:24:09 +0000 (14:24 -0600)
committerStephen Warren <swarren@nvidia.com>
Mon, 29 Oct 2012 16:41:41 +0000 (10:41 -0600)
Nothing outside mach-tegra uses this file, so there's no need for it to
be in <mach/>.

Since uncompress.h and debug-macro.S remain in include/mach, they need
to include "../../iomap.h" becaue of this change. uncompress.h will soon
be deleted in later multi-platform/single-zImage patches. debug-macro.S
will need to continue to include this header using an explicit relative
path, to avoid duplicating the physical->virtual address mapping that
iomap.h dictates.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
22 files changed:
arch/arm/mach-tegra/apbio.c
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/board-dt-tegra30.c
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/flowctrl.c
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/include/mach/debug-macro.S
arch/arm/mach-tegra/include/mach/uncompress.h
arch/arm/mach-tegra/io.c
arch/arm/mach-tegra/iomap.h [moved from arch/arm/mach-tegra/include/mach/iomap.h with 99% similarity]
arch/arm/mach-tegra/irq.c
arch/arm/mach-tegra/pcie.c
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/pmc.c
arch/arm/mach-tegra/powergate.c
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/sleep.S
arch/arm/mach-tegra/sleep.h
arch/arm/mach-tegra/tegra20_clocks.c
arch/arm/mach-tegra/tegra30_clocks.c
arch/arm/mach-tegra/timer.c

index bc949fb7efe89b6d594a9ba6fe2ac92b3b226640..d091675ba376bd8a2dd23c0ae1b4c4578e874b95 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <linux/kernel.h>
 #include <linux/io.h>
-#include <mach/iomap.h>
 #include <linux/of.h>
 #include <linux/dmaengine.h>
 #include <linux/dma-mapping.h>
@@ -25,6 +24,7 @@
 #include <linux/mutex.h>
 
 #include "apbio.h"
+#include "iomap.h"
 
 #if defined(CONFIG_TEGRA20_APB_DMA)
 static DEFINE_MUTEX(tegra_apb_dma_lock);
index 82837e91d5a6a367117047d8a58265a3ff51d9ba..71569c01afd26311aa7b1cf163fcc259700c9f3e 100644 (file)
 #include <asm/mach/time.h>
 #include <asm/setup.h>
 
-#include <mach/iomap.h>
-
 #include "board.h"
 #include "clock.h"
 #include "common.h"
+#include "iomap.h"
 
 struct tegra_ehci_platform_data tegra_ehci1_pdata = {
        .operating_mode = TEGRA_USB_OTG,
index 5e92a81f9a2e24b6e02f7237a37d78229dda3543..e56170393a5bd265d16b99c32791bc03b5200484 100644 (file)
 #include <asm/mach/arch.h>
 #include <asm/hardware/gic.h>
 
-#include <mach/iomap.h>
-
 #include "board.h"
 #include "clock.h"
 #include "common.h"
+#include "iomap.h"
 
 struct of_dev_auxdata tegra30_auxdata_lookup[] __initdata = {
        OF_DEV_AUXDATA("nvidia,tegra20-sdhci", 0x78000000, "sdhci-tegra.0", NULL),
index 0b0a5f556d34062ba67b955629c859b5b20c9b59..f688daa74978e04bdaf1e5676f7865d4e357f36b 100644 (file)
 #include <asm/hardware/cache-l2x0.h>
 #include <asm/hardware/gic.h>
 
-#include <mach/iomap.h>
 #include <mach/powergate.h>
 
 #include "board.h"
 #include "clock.h"
 #include "common.h"
 #include "fuse.h"
+#include "iomap.h"
 #include "pmc.h"
 #include "apbio.h"
 #include "sleep.h"
index f07488e0bd32242bd6357b5a3aa8c29ae1821291..ffaa286a71e17328c974cf077a89a5b8e9955ccd 100644 (file)
@@ -22,9 +22,8 @@
 #include <linux/kernel.h>
 #include <linux/io.h>
 
-#include <mach/iomap.h>
-
 #include "flowctrl.h"
+#include "iomap.h"
 
 u8 flowctrl_offset_halt_cpu[] = {
        FLOW_CTRL_HALT_CPU0_EVENTS,
index 0b7db174a5dea0138b9afd66dfdbe8f7dd9e2a2e..6c752e8f1f0619bd4491f5a43fae4748e053a0ee 100644 (file)
@@ -21,9 +21,8 @@
 #include <linux/io.h>
 #include <linux/export.h>
 
-#include <mach/iomap.h>
-
 #include "fuse.h"
+#include "iomap.h"
 #include "apbio.h"
 
 #define FUSE_UID_LOW           0x108
index 6addc78cb6b2a53568c026d81a1d68c44a753725..93f0370cc95b70ff8f1004a4dad1144e3851ce26 100644 (file)
@@ -3,9 +3,8 @@
 
 #include <asm/cache.h>
 
-#include <mach/iomap.h>
-
 #include "flowctrl.h"
+#include "iomap.h"
 #include "reset.h"
 #include "sleep.h"
 
index 8ce0661b8a3d34bf4ad9a4004de0606a4e7de547..58a7fa8493e82f589745cb925602bdea6f8ad817 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <linux/serial_reg.h>
 
-#include <mach/iomap.h>
+#include "../../iomap.h"
 #include <mach/irammap.h>
 
                .macro  addruart, rp, rv, tmp
index 937c4c50219e1a818c89b32f965598318fbd55cc..095216c4b5647d6b2c8cc2567c4dd60d7b13b88f 100644 (file)
 #include <linux/types.h>
 #include <linux/serial_reg.h>
 
-#include <mach/iomap.h>
 #include <mach/irammap.h>
 
+#include "../../iomap.h"
+
 #define BIT(x) (1 << (x))
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
 
index 58b4baf9c483d8a737fd73d418b14375c7a308e1..7d09f301b3a179d8a41f9573730d07cdb4d3bcf7 100644 (file)
@@ -26,9 +26,9 @@
 
 #include <asm/page.h>
 #include <asm/mach/map.h>
-#include <mach/iomap.h>
 
 #include "board.h"
+#include "iomap.h"
 
 static struct map_desc tegra_io_desc[] __initdata = {
        {
similarity index 99%
rename from arch/arm/mach-tegra/include/mach/iomap.h
rename to arch/arm/mach-tegra/iomap.h
index fee3a94c4549f8e7e90e81cfdb3d7335b2901a02..53151030a07d5962c479fc9d0a7bec0bd3bb4464 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * arch/arm/mach-tegra/include/mach/iomap.h
- *
  * Copyright (C) 2010 Google, Inc.
  *
  * Author:
index 2f5bd2db8e1faa78a69cedd1bfdc144bec47b615..b7886f183511dbdebb352f8f31e58de402fcc759 100644 (file)
@@ -25,9 +25,8 @@
 
 #include <asm/hardware/gic.h>
 
-#include <mach/iomap.h>
-
 #include "board.h"
+#include "iomap.h"
 
 #define ICTLR_CPU_IEP_VFIQ     0x08
 #define ICTLR_CPU_IEP_FIR      0x14
index a8dba6489c9b5ee37cc95db9475622f47dcc0e31..f18fc3ab4e58a337a285a8b57ffd0b341645d156 100644 (file)
 #include <asm/sizes.h>
 #include <asm/mach/pci.h>
 
-#include <mach/iomap.h>
 #include <mach/clk.h>
 #include <mach/powergate.h>
 
 #include "board.h"
+#include "iomap.h"
 
 /* register definitions */
 #define AFI_OFFSET     0x3800
index e50870c720381812fed27a48df02afcf05067097..1b926df99c4b2a5c8929f28b180a36aaba9ee5a0 100644 (file)
@@ -24,7 +24,6 @@
 #include <asm/mach-types.h>
 #include <asm/smp_scu.h>
 
-#include <mach/iomap.h>
 #include <mach/powergate.h>
 
 #include "fuse.h"
@@ -33,6 +32,7 @@
 #include "tegra_cpu_car.h"
 
 #include "common.h"
+#include "iomap.h"
 
 extern void tegra_secondary_startup(void);
 
index 7af6a54404be53818c8f02af3e37c4b1b648e7bb..d4fdb5fcec20955c95a4f0199efb1ae180f72409 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/io.h>
 #include <linux/of.h>
 
-#include <mach/iomap.h>
+#include "iomap.h"
 
 #define PMC_CTRL               0x0
 #define PMC_CTRL_INTR_LOW      (1 << 17)
index de0662de28a0dec38ff3c3ec5edd0db3d03f4195..2cc1185d902e38fd3678872c71ffc8320e89d383 100644 (file)
 #include <linux/spinlock.h>
 
 #include <mach/clk.h>
-#include <mach/iomap.h>
 #include <mach/powergate.h>
 
 #include "fuse.h"
+#include "iomap.h"
 
 #define PWRGATE_TOGGLE         0x30
 #define  PWRGATE_TOGGLE_START  (1 << 8)
index 5beb7ebe2948ff1e706159bf958e9118b3906f7e..28e51b7803ef6b582d1d153e4112f515e04563dd 100644 (file)
@@ -22,9 +22,9 @@
 #include <asm/cacheflush.h>
 #include <asm/hardware/cache-l2x0.h>
 
-#include <mach/iomap.h>
 #include <mach/irammap.h>
 
+#include "iomap.h"
 #include "reset.h"
 #include "fuse.h"
 
index ea81554c483381a9b08884769c4036139b8476c1..08e9481c049e9be69db064b784ceb03d60f287d3 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <asm/assembler.h>
 
-#include <mach/iomap.h>
+#include "iomap.h"
 
 #include "flowctrl.h"
 #include "sleep.h"
index e25a7cd703d9cdc852abd9dbd19d80b33d530267..4889b281c5f9a4543e0e4c3480b46757e7028393 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __MACH_TEGRA_SLEEP_H
 #define __MACH_TEGRA_SLEEP_H
 
-#include <mach/iomap.h>
+#include "iomap.h"
 
 #define TEGRA_ARM_PERIF_VIRT (TEGRA_ARM_PERIF_BASE - IO_CPU_PHYS \
                                        + IO_CPU_VIRT)
index deb873fb12b652ef8c6b5524cde94cbb6e0fa366..4eb6bc81a87b4dd3c89dadacd8c78ed5670d5e81 100644 (file)
 #include <linux/clkdev.h>
 #include <linux/clk.h>
 
-#include <mach/iomap.h>
-
 #include "clock.h"
 #include "fuse.h"
+#include "iomap.h"
 #include "tegra2_emc.h"
 #include "tegra_cpu_car.h"
 
index e9de5dfd94ec339e5f5c0c7c15eaad1f5a7944c4..000239d683937abbdfcaa56d7fc6b0478a152603 100644 (file)
 
 #include <asm/clkdev.h>
 
-#include <mach/iomap.h>
-
 #include "clock.h"
 #include "fuse.h"
+#include "iomap.h"
 #include "tegra_cpu_car.h"
 
 #define USE_PLL_LOCK_BITS 0
index d3b8c8e7368fd938285438cafb6d77f2d5ee7ebf..6ff503536512e09e168db98f9c2daee18bd72e3d 100644 (file)
 #include <asm/smp_twd.h>
 #include <asm/sched_clock.h>
 
-#include <mach/iomap.h>
 #include <mach/irqs.h>
 
 #include "board.h"
 #include "clock.h"
+#include "iomap.h"
 
 #define RTC_SECONDS            0x08
 #define RTC_SHADOW_SECONDS     0x0c