diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 14:51:39 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 14:51:39 -0500 |
| commit | d01e4afdbb65e030fd6f1f96c30a558e2eb0f279 (patch) | |
| tree | 02ef82b2740cf93a98199eded5ef765fa6e03052 /arch/arm/mach-tegra | |
| parent | 8287361abca36504da813638310d2547469283eb (diff) | |
| parent | 794b175fc0c0c4844dbb7b137a73bbfd01f6c608 (diff) | |
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups on various subarchitectures from Olof Johansson:
"Cleanup patches for various ARM platforms and some of their associated
drivers. There's also a branch in here that enables Freescale i.MX to
be part of the multiplatform support -- the first "big" SoC that is
moved over (more multiplatform work comes in a separate branch later
during the merge window)."
Conflicts fixed as per Olof, including a silent semantic one in
arch/arm/mach-omap2/board-generic.c (omap_prcm_restart() was renamed to
omap3xxx_restart(), and a new user of the old name was added).
* tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (189 commits)
ARM: omap: fix typo on timer cleanup
ARM: EXYNOS: Remove unused regs-mem.h file
ARM: EXYNOS: Remove unused non-dt support for dwmci controller
ARM: Kirkwood: Use hw_pci.ops instead of hw_pci.scan
ARM: OMAP3: cm-t3517: use GPTIMER for system clock
ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER
ARM: SAMSUNG: use devm_ functions for ADC driver
ARM: EXYNOS: no duplicate mask/unmask in eint0_15
ARM: S3C24XX: SPI clock channel setup is fixed for S3C2443
ARM: EXYNOS: Remove i2c0 resource information and setting of device names
ARM: Kirkwood: checkpatch cleanups
ARM: Kirkwood: Fix sparse warnings.
ARM: Kirkwood: Remove unused includes
ARM: kirkwood: cleanup lsxl board includes
ARM: integrator: use BUG_ON where possible
ARM: integrator: push down SC dependencies
ARM: integrator: delete static UART1 mapping
ARM: integrator: delete SC mapping on the CP
ARM: integrator: remove static CP syscon mapping
ARM: integrator: remove static AP syscon mapping
...
Diffstat (limited to 'arch/arm/mach-tegra')
33 files changed, 26 insertions, 128 deletions
diff --git a/arch/arm/mach-tegra/apbio.c b/arch/arm/mach-tegra/apbio.c index b5015d0f1912..d091675ba376 100644 --- a/arch/arm/mach-tegra/apbio.c +++ b/arch/arm/mach-tegra/apbio.c | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | 15 | ||
| 16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
| 17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
| 18 | #include <mach/iomap.h> | ||
| 19 | #include <linux/of.h> | 18 | #include <linux/of.h> |
| 20 | #include <linux/dmaengine.h> | 19 | #include <linux/dmaengine.h> |
| 21 | #include <linux/dma-mapping.h> | 20 | #include <linux/dma-mapping.h> |
| @@ -24,9 +23,8 @@ | |||
| 24 | #include <linux/sched.h> | 23 | #include <linux/sched.h> |
| 25 | #include <linux/mutex.h> | 24 | #include <linux/mutex.h> |
| 26 | 25 | ||
| 27 | #include <mach/dma.h> | ||
| 28 | |||
| 29 | #include "apbio.h" | 26 | #include "apbio.h" |
| 27 | #include "iomap.h" | ||
| 30 | 28 | ||
| 31 | #if defined(CONFIG_TEGRA20_APB_DMA) | 29 | #if defined(CONFIG_TEGRA20_APB_DMA) |
| 32 | static DEFINE_MUTEX(tegra_apb_dma_lock); | 30 | static DEFINE_MUTEX(tegra_apb_dma_lock); |
| @@ -71,7 +69,6 @@ bool tegra_apb_dma_init(void) | |||
| 71 | 69 | ||
| 72 | dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; | 70 | dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; |
| 73 | dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; | 71 | dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; |
| 74 | dma_sconfig.slave_id = TEGRA_DMA_REQ_SEL_CNTR; | ||
| 75 | dma_sconfig.src_maxburst = 1; | 72 | dma_sconfig.src_maxburst = 1; |
| 76 | dma_sconfig.dst_maxburst = 1; | 73 | dma_sconfig.dst_maxburst = 1; |
| 77 | 74 | ||
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index aa5325cd1c42..71569c01afd2 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
| @@ -40,12 +40,10 @@ | |||
| 40 | #include <asm/mach/time.h> | 40 | #include <asm/mach/time.h> |
| 41 | #include <asm/setup.h> | 41 | #include <asm/setup.h> |
| 42 | 42 | ||
| 43 | #include <mach/iomap.h> | ||
| 44 | #include <mach/irqs.h> | ||
| 45 | |||
| 46 | #include "board.h" | 43 | #include "board.h" |
| 47 | #include "clock.h" | 44 | #include "clock.h" |
| 48 | #include "common.h" | 45 | #include "common.h" |
| 46 | #include "iomap.h" | ||
| 49 | 47 | ||
| 50 | struct tegra_ehci_platform_data tegra_ehci1_pdata = { | 48 | struct tegra_ehci_platform_data tegra_ehci1_pdata = { |
| 51 | .operating_mode = TEGRA_USB_OTG, | 49 | .operating_mode = TEGRA_USB_OTG, |
diff --git a/arch/arm/mach-tegra/board-dt-tegra30.c b/arch/arm/mach-tegra/board-dt-tegra30.c index 5e92a81f9a2e..e56170393a5b 100644 --- a/arch/arm/mach-tegra/board-dt-tegra30.c +++ b/arch/arm/mach-tegra/board-dt-tegra30.c | |||
| @@ -33,11 +33,10 @@ | |||
| 33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
| 34 | #include <asm/hardware/gic.h> | 34 | #include <asm/hardware/gic.h> |
| 35 | 35 | ||
| 36 | #include <mach/iomap.h> | ||
| 37 | |||
| 38 | #include "board.h" | 36 | #include "board.h" |
| 39 | #include "clock.h" | 37 | #include "clock.h" |
| 40 | #include "common.h" | 38 | #include "common.h" |
| 39 | #include "iomap.h" | ||
| 41 | 40 | ||
| 42 | struct of_dev_auxdata tegra30_auxdata_lookup[] __initdata = { | 41 | struct of_dev_auxdata tegra30_auxdata_lookup[] __initdata = { |
| 43 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", 0x78000000, "sdhci-tegra.0", NULL), | 42 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", 0x78000000, "sdhci-tegra.0", NULL), |
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index fd82085eca5d..867bf8bf5561 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c | |||
| @@ -27,8 +27,6 @@ | |||
| 27 | #include <linux/seq_file.h> | 27 | #include <linux/seq_file.h> |
| 28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
| 29 | 29 | ||
| 30 | #include <mach/clk.h> | ||
| 31 | |||
| 32 | #include "board.h" | 30 | #include "board.h" |
| 33 | #include "clock.h" | 31 | #include "clock.h" |
| 34 | #include "tegra_cpu_car.h" | 32 | #include "tegra_cpu_car.h" |
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 0b0a5f556d34..f688daa74978 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c | |||
| @@ -26,13 +26,13 @@ | |||
| 26 | #include <asm/hardware/cache-l2x0.h> | 26 | #include <asm/hardware/cache-l2x0.h> |
| 27 | #include <asm/hardware/gic.h> | 27 | #include <asm/hardware/gic.h> |
| 28 | 28 | ||
| 29 | #include <mach/iomap.h> | ||
| 30 | #include <mach/powergate.h> | 29 | #include <mach/powergate.h> |
| 31 | 30 | ||
| 32 | #include "board.h" | 31 | #include "board.h" |
| 33 | #include "clock.h" | 32 | #include "clock.h" |
| 34 | #include "common.h" | 33 | #include "common.h" |
| 35 | #include "fuse.h" | 34 | #include "fuse.h" |
| 35 | #include "iomap.h" | ||
| 36 | #include "pmc.h" | 36 | #include "pmc.h" |
| 37 | #include "apbio.h" | 37 | #include "apbio.h" |
| 38 | #include "sleep.h" | 38 | #include "sleep.h" |
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c index 627bf0f4262e..a74d3c7d2e26 100644 --- a/arch/arm/mach-tegra/cpu-tegra.c +++ b/arch/arm/mach-tegra/cpu-tegra.c | |||
| @@ -30,9 +30,6 @@ | |||
| 30 | #include <linux/io.h> | 30 | #include <linux/io.h> |
| 31 | #include <linux/suspend.h> | 31 | #include <linux/suspend.h> |
| 32 | 32 | ||
| 33 | |||
| 34 | #include <mach/clk.h> | ||
| 35 | |||
| 36 | /* Frequency table index must be sequential starting at 0 */ | 33 | /* Frequency table index must be sequential starting at 0 */ |
| 37 | static struct cpufreq_frequency_table freq_table[] = { | 34 | static struct cpufreq_frequency_table freq_table[] = { |
| 38 | { 0, 216000 }, | 35 | { 0, 216000 }, |
diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c index 566e2f88899b..9a6f051b382e 100644 --- a/arch/arm/mach-tegra/cpuidle.c +++ b/arch/arm/mach-tegra/cpuidle.c | |||
| @@ -29,8 +29,6 @@ | |||
| 29 | 29 | ||
| 30 | #include <asm/proc-fns.h> | 30 | #include <asm/proc-fns.h> |
| 31 | 31 | ||
| 32 | #include <mach/iomap.h> | ||
| 33 | |||
| 34 | static int tegra_idle_enter_lp3(struct cpuidle_device *dev, | 32 | static int tegra_idle_enter_lp3(struct cpuidle_device *dev, |
| 35 | struct cpuidle_driver *drv, int index); | 33 | struct cpuidle_driver *drv, int index); |
| 36 | 34 | ||
diff --git a/arch/arm/mach-tegra/flowctrl.c b/arch/arm/mach-tegra/flowctrl.c index f07488e0bd32..ffaa286a71e1 100644 --- a/arch/arm/mach-tegra/flowctrl.c +++ b/arch/arm/mach-tegra/flowctrl.c | |||
| @@ -22,9 +22,8 @@ | |||
| 22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
| 23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
| 24 | 24 | ||
| 25 | #include <mach/iomap.h> | ||
| 26 | |||
| 27 | #include "flowctrl.h" | 25 | #include "flowctrl.h" |
| 26 | #include "iomap.h" | ||
| 28 | 27 | ||
| 29 | u8 flowctrl_offset_halt_cpu[] = { | 28 | u8 flowctrl_offset_halt_cpu[] = { |
| 30 | FLOW_CTRL_HALT_CPU0_EVENTS, | 29 | FLOW_CTRL_HALT_CPU0_EVENTS, |
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index 0b7db174a5de..6c752e8f1f06 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c | |||
| @@ -21,9 +21,8 @@ | |||
| 21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
| 22 | #include <linux/export.h> | 22 | #include <linux/export.h> |
| 23 | 23 | ||
| 24 | #include <mach/iomap.h> | ||
| 25 | |||
| 26 | #include "fuse.h" | 24 | #include "fuse.h" |
| 25 | #include "iomap.h" | ||
| 27 | #include "apbio.h" | 26 | #include "apbio.h" |
| 28 | 27 | ||
| 29 | #define FUSE_UID_LOW 0x108 | 28 | #define FUSE_UID_LOW 0x108 |
diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S index 6addc78cb6b2..93f0370cc95b 100644 --- a/arch/arm/mach-tegra/headsmp.S +++ b/arch/arm/mach-tegra/headsmp.S | |||
| @@ -3,9 +3,8 @@ | |||
| 3 | 3 | ||
| 4 | #include <asm/cache.h> | 4 | #include <asm/cache.h> |
| 5 | 5 | ||
| 6 | #include <mach/iomap.h> | ||
| 7 | |||
| 8 | #include "flowctrl.h" | 6 | #include "flowctrl.h" |
| 7 | #include "iomap.h" | ||
| 9 | #include "reset.h" | 8 | #include "reset.h" |
| 10 | #include "sleep.h" | 9 | #include "sleep.h" |
| 11 | 10 | ||
diff --git a/arch/arm/mach-tegra/include/mach/debug-macro.S b/arch/arm/mach-tegra/include/mach/debug-macro.S index 8ce0661b8a3d..44ca7b1d8b8a 100644 --- a/arch/arm/mach-tegra/include/mach/debug-macro.S +++ b/arch/arm/mach-tegra/include/mach/debug-macro.S | |||
| @@ -26,8 +26,8 @@ | |||
| 26 | 26 | ||
| 27 | #include <linux/serial_reg.h> | 27 | #include <linux/serial_reg.h> |
| 28 | 28 | ||
| 29 | #include <mach/iomap.h> | 29 | #include "../../iomap.h" |
| 30 | #include <mach/irammap.h> | 30 | #include "../../irammap.h" |
| 31 | 31 | ||
| 32 | .macro addruart, rp, rv, tmp | 32 | .macro addruart, rp, rv, tmp |
| 33 | adr \rp, 99f @ actual addr of 99f | 33 | adr \rp, 99f @ actual addr of 99f |
diff --git a/arch/arm/mach-tegra/include/mach/dma.h b/arch/arm/mach-tegra/include/mach/dma.h deleted file mode 100644 index 3081cc6dda3b..000000000000 --- a/arch/arm/mach-tegra/include/mach/dma.h +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * arch/arm/mach-tegra/include/mach/dma.h | ||
| 3 | * | ||
| 4 | * Copyright (c) 2008-2009, NVIDIA Corporation. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 14 | * more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along | ||
| 17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef __MACH_TEGRA_DMA_H | ||
| 22 | #define __MACH_TEGRA_DMA_H | ||
| 23 | |||
| 24 | #include <linux/list.h> | ||
| 25 | |||
| 26 | #define TEGRA_DMA_REQ_SEL_CNTR 0 | ||
| 27 | #define TEGRA_DMA_REQ_SEL_I2S_2 1 | ||
| 28 | #define TEGRA_DMA_REQ_SEL_I2S_1 2 | ||
| 29 | #define TEGRA_DMA_REQ_SEL_SPD_I 3 | ||
| 30 | #define TEGRA_DMA_REQ_SEL_UI_I 4 | ||
| 31 | #define TEGRA_DMA_REQ_SEL_MIPI 5 | ||
| 32 | #define TEGRA_DMA_REQ_SEL_I2S2_2 6 | ||
| 33 | #define TEGRA_DMA_REQ_SEL_I2S2_1 7 | ||
| 34 | #define TEGRA_DMA_REQ_SEL_UARTA 8 | ||
| 35 | #define TEGRA_DMA_REQ_SEL_UARTB 9 | ||
| 36 | #define TEGRA_DMA_REQ_SEL_UARTC 10 | ||
| 37 | #define TEGRA_DMA_REQ_SEL_SPI 11 | ||
| 38 | #define TEGRA_DMA_REQ_SEL_AC97 12 | ||
| 39 | #define TEGRA_DMA_REQ_SEL_ACMODEM 13 | ||
| 40 | #define TEGRA_DMA_REQ_SEL_SL4B 14 | ||
| 41 | #define TEGRA_DMA_REQ_SEL_SL2B1 15 | ||
| 42 | #define TEGRA_DMA_REQ_SEL_SL2B2 16 | ||
| 43 | #define TEGRA_DMA_REQ_SEL_SL2B3 17 | ||
| 44 | #define TEGRA_DMA_REQ_SEL_SL2B4 18 | ||
| 45 | #define TEGRA_DMA_REQ_SEL_UARTD 19 | ||
| 46 | #define TEGRA_DMA_REQ_SEL_UARTE 20 | ||
| 47 | #define TEGRA_DMA_REQ_SEL_I2C 21 | ||
| 48 | #define TEGRA_DMA_REQ_SEL_I2C2 22 | ||
| 49 | #define TEGRA_DMA_REQ_SEL_I2C3 23 | ||
| 50 | #define TEGRA_DMA_REQ_SEL_DVC_I2C 24 | ||
| 51 | #define TEGRA_DMA_REQ_SEL_OWR 25 | ||
| 52 | #define TEGRA_DMA_REQ_SEL_INVALID 31 | ||
| 53 | |||
| 54 | #endif | ||
diff --git a/arch/arm/mach-tegra/include/mach/powergate.h b/arch/arm/mach-tegra/include/mach/powergate.h index 4752b1a68f35..06763fe7529d 100644 --- a/arch/arm/mach-tegra/include/mach/powergate.h +++ b/arch/arm/mach-tegra/include/mach/powergate.h | |||
| @@ -20,6 +20,8 @@ | |||
| 20 | #ifndef _MACH_TEGRA_POWERGATE_H_ | 20 | #ifndef _MACH_TEGRA_POWERGATE_H_ |
| 21 | #define _MACH_TEGRA_POWERGATE_H_ | 21 | #define _MACH_TEGRA_POWERGATE_H_ |
| 22 | 22 | ||
| 23 | struct clk; | ||
| 24 | |||
| 23 | #define TEGRA_POWERGATE_CPU 0 | 25 | #define TEGRA_POWERGATE_CPU 0 |
| 24 | #define TEGRA_POWERGATE_3D 1 | 26 | #define TEGRA_POWERGATE_3D 1 |
| 25 | #define TEGRA_POWERGATE_VENC 2 | 27 | #define TEGRA_POWERGATE_VENC 2 |
diff --git a/arch/arm/mach-tegra/include/mach/tegra-ahb.h b/arch/arm/mach-tegra/include/mach/tegra-ahb.h deleted file mode 100644 index e0f8c84b1d8c..000000000000 --- a/arch/arm/mach-tegra/include/mach/tegra-ahb.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms and conditions of the GNU General Public License, | ||
| 6 | * version 2, as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
| 9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 11 | * more details. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #ifndef __MACH_TEGRA_AHB_H__ | ||
| 15 | #define __MACH_TEGRA_AHB_H__ | ||
| 16 | |||
| 17 | extern int tegra_ahb_enable_smmu(struct device_node *ahb); | ||
| 18 | |||
| 19 | #endif /* __MACH_TEGRA_AHB_H__ */ | ||
diff --git a/arch/arm/mach-tegra/include/mach/uncompress.h b/arch/arm/mach-tegra/include/mach/uncompress.h index 937c4c50219e..27725750ca3e 100644 --- a/arch/arm/mach-tegra/include/mach/uncompress.h +++ b/arch/arm/mach-tegra/include/mach/uncompress.h | |||
| @@ -28,8 +28,8 @@ | |||
| 28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
| 29 | #include <linux/serial_reg.h> | 29 | #include <linux/serial_reg.h> |
| 30 | 30 | ||
| 31 | #include <mach/iomap.h> | 31 | #include "../../iomap.h" |
| 32 | #include <mach/irammap.h> | 32 | #include "../../irammap.h" |
| 33 | 33 | ||
| 34 | #define BIT(x) (1 << (x)) | 34 | #define BIT(x) (1 << (x)) |
| 35 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) | 35 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |
diff --git a/arch/arm/mach-tegra/io.c b/arch/arm/mach-tegra/io.c index 58b4baf9c483..7d09f301b3a1 100644 --- a/arch/arm/mach-tegra/io.c +++ b/arch/arm/mach-tegra/io.c | |||
| @@ -26,9 +26,9 @@ | |||
| 26 | 26 | ||
| 27 | #include <asm/page.h> | 27 | #include <asm/page.h> |
| 28 | #include <asm/mach/map.h> | 28 | #include <asm/mach/map.h> |
| 29 | #include <mach/iomap.h> | ||
| 30 | 29 | ||
| 31 | #include "board.h" | 30 | #include "board.h" |
| 31 | #include "iomap.h" | ||
| 32 | 32 | ||
| 33 | static struct map_desc tegra_io_desc[] __initdata = { | 33 | static struct map_desc tegra_io_desc[] __initdata = { |
| 34 | { | 34 | { |
diff --git a/arch/arm/mach-tegra/include/mach/iomap.h b/arch/arm/mach-tegra/iomap.h index fee3a94c4549..53151030a07d 100644 --- a/arch/arm/mach-tegra/include/mach/iomap.h +++ b/arch/arm/mach-tegra/iomap.h | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * arch/arm/mach-tegra/include/mach/iomap.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 2010 Google, Inc. | 2 | * Copyright (C) 2010 Google, Inc. |
| 5 | * | 3 | * |
| 6 | * Author: | 4 | * Author: |
diff --git a/arch/arm/mach-tegra/include/mach/irammap.h b/arch/arm/mach-tegra/irammap.h index 0cbe63261854..0cbe63261854 100644 --- a/arch/arm/mach-tegra/include/mach/irammap.h +++ b/arch/arm/mach-tegra/irammap.h | |||
diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c index 2f5bd2db8e1f..b7886f183511 100644 --- a/arch/arm/mach-tegra/irq.c +++ b/arch/arm/mach-tegra/irq.c | |||
| @@ -25,9 +25,8 @@ | |||
| 25 | 25 | ||
| 26 | #include <asm/hardware/gic.h> | 26 | #include <asm/hardware/gic.h> |
| 27 | 27 | ||
| 28 | #include <mach/iomap.h> | ||
| 29 | |||
| 30 | #include "board.h" | 28 | #include "board.h" |
| 29 | #include "iomap.h" | ||
| 31 | 30 | ||
| 32 | #define ICTLR_CPU_IEP_VFIQ 0x08 | 31 | #define ICTLR_CPU_IEP_VFIQ 0x08 |
| 33 | #define ICTLR_CPU_IEP_FIR 0x14 | 32 | #define ICTLR_CPU_IEP_FIR 0x14 |
diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c index a8dba6489c9b..f18fc3ab4e58 100644 --- a/arch/arm/mach-tegra/pcie.c +++ b/arch/arm/mach-tegra/pcie.c | |||
| @@ -37,11 +37,11 @@ | |||
| 37 | #include <asm/sizes.h> | 37 | #include <asm/sizes.h> |
| 38 | #include <asm/mach/pci.h> | 38 | #include <asm/mach/pci.h> |
| 39 | 39 | ||
| 40 | #include <mach/iomap.h> | ||
| 41 | #include <mach/clk.h> | 40 | #include <mach/clk.h> |
| 42 | #include <mach/powergate.h> | 41 | #include <mach/powergate.h> |
| 43 | 42 | ||
| 44 | #include "board.h" | 43 | #include "board.h" |
| 44 | #include "iomap.h" | ||
| 45 | 45 | ||
| 46 | /* register definitions */ | 46 | /* register definitions */ |
| 47 | #define AFI_OFFSET 0x3800 | 47 | #define AFI_OFFSET 0x3800 |
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 81cb26591acf..1b926df99c4b 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c | |||
| @@ -24,8 +24,6 @@ | |||
| 24 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
| 25 | #include <asm/smp_scu.h> | 25 | #include <asm/smp_scu.h> |
| 26 | 26 | ||
| 27 | #include <mach/clk.h> | ||
| 28 | #include <mach/iomap.h> | ||
| 29 | #include <mach/powergate.h> | 27 | #include <mach/powergate.h> |
| 30 | 28 | ||
| 31 | #include "fuse.h" | 29 | #include "fuse.h" |
| @@ -34,6 +32,7 @@ | |||
| 34 | #include "tegra_cpu_car.h" | 32 | #include "tegra_cpu_car.h" |
| 35 | 33 | ||
| 36 | #include "common.h" | 34 | #include "common.h" |
| 35 | #include "iomap.h" | ||
| 37 | 36 | ||
| 38 | extern void tegra_secondary_startup(void); | 37 | extern void tegra_secondary_startup(void); |
| 39 | 38 | ||
diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c index 7af6a54404be..d4fdb5fcec20 100644 --- a/arch/arm/mach-tegra/pmc.c +++ b/arch/arm/mach-tegra/pmc.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
| 20 | #include <linux/of.h> | 20 | #include <linux/of.h> |
| 21 | 21 | ||
| 22 | #include <mach/iomap.h> | 22 | #include "iomap.h" |
| 23 | 23 | ||
| 24 | #define PMC_CTRL 0x0 | 24 | #define PMC_CTRL 0x0 |
| 25 | #define PMC_CTRL_INTR_LOW (1 << 17) | 25 | #define PMC_CTRL_INTR_LOW (1 << 17) |
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index de0662de28a0..2cc1185d902e 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c | |||
| @@ -28,10 +28,10 @@ | |||
| 28 | #include <linux/spinlock.h> | 28 | #include <linux/spinlock.h> |
| 29 | 29 | ||
| 30 | #include <mach/clk.h> | 30 | #include <mach/clk.h> |
| 31 | #include <mach/iomap.h> | ||
| 32 | #include <mach/powergate.h> | 31 | #include <mach/powergate.h> |
| 33 | 32 | ||
| 34 | #include "fuse.h" | 33 | #include "fuse.h" |
| 34 | #include "iomap.h" | ||
| 35 | 35 | ||
| 36 | #define PWRGATE_TOGGLE 0x30 | 36 | #define PWRGATE_TOGGLE 0x30 |
| 37 | #define PWRGATE_TOGGLE_START (1 << 8) | 37 | #define PWRGATE_TOGGLE_START (1 << 8) |
diff --git a/arch/arm/mach-tegra/reset.c b/arch/arm/mach-tegra/reset.c index 5beb7ebe2948..e05da7d10c3b 100644 --- a/arch/arm/mach-tegra/reset.c +++ b/arch/arm/mach-tegra/reset.c | |||
| @@ -22,9 +22,8 @@ | |||
| 22 | #include <asm/cacheflush.h> | 22 | #include <asm/cacheflush.h> |
| 23 | #include <asm/hardware/cache-l2x0.h> | 23 | #include <asm/hardware/cache-l2x0.h> |
| 24 | 24 | ||
| 25 | #include <mach/iomap.h> | 25 | #include "iomap.h" |
| 26 | #include <mach/irammap.h> | 26 | #include "irammap.h" |
| 27 | |||
| 28 | #include "reset.h" | 27 | #include "reset.h" |
| 29 | #include "fuse.h" | 28 | #include "fuse.h" |
| 30 | 29 | ||
diff --git a/arch/arm/mach-tegra/sleep-t20.S b/arch/arm/mach-tegra/sleep-t20.S index a36ae413e2b8..72ce709799da 100644 --- a/arch/arm/mach-tegra/sleep-t20.S +++ b/arch/arm/mach-tegra/sleep-t20.S | |||
| @@ -22,8 +22,6 @@ | |||
| 22 | 22 | ||
| 23 | #include <asm/assembler.h> | 23 | #include <asm/assembler.h> |
| 24 | 24 | ||
| 25 | #include <mach/iomap.h> | ||
| 26 | |||
| 27 | #include "sleep.h" | 25 | #include "sleep.h" |
| 28 | #include "flowctrl.h" | 26 | #include "flowctrl.h" |
| 29 | 27 | ||
diff --git a/arch/arm/mach-tegra/sleep-t30.S b/arch/arm/mach-tegra/sleep-t30.S index 777d9cee8b90..be7614b7c5cb 100644 --- a/arch/arm/mach-tegra/sleep-t30.S +++ b/arch/arm/mach-tegra/sleep-t30.S | |||
| @@ -18,8 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #include <asm/assembler.h> | 19 | #include <asm/assembler.h> |
| 20 | 20 | ||
| 21 | #include <mach/iomap.h> | ||
| 22 | |||
| 23 | #include "sleep.h" | 21 | #include "sleep.h" |
| 24 | #include "flowctrl.h" | 22 | #include "flowctrl.h" |
| 25 | 23 | ||
diff --git a/arch/arm/mach-tegra/sleep.S b/arch/arm/mach-tegra/sleep.S index ea81554c4833..08e9481c049e 100644 --- a/arch/arm/mach-tegra/sleep.S +++ b/arch/arm/mach-tegra/sleep.S | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | #include <asm/assembler.h> | 27 | #include <asm/assembler.h> |
| 28 | 28 | ||
| 29 | #include <mach/iomap.h> | 29 | #include "iomap.h" |
| 30 | 30 | ||
| 31 | #include "flowctrl.h" | 31 | #include "flowctrl.h" |
| 32 | #include "sleep.h" | 32 | #include "sleep.h" |
diff --git a/arch/arm/mach-tegra/sleep.h b/arch/arm/mach-tegra/sleep.h index e25a7cd703d9..4889b281c5f9 100644 --- a/arch/arm/mach-tegra/sleep.h +++ b/arch/arm/mach-tegra/sleep.h | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #ifndef __MACH_TEGRA_SLEEP_H | 17 | #ifndef __MACH_TEGRA_SLEEP_H |
| 18 | #define __MACH_TEGRA_SLEEP_H | 18 | #define __MACH_TEGRA_SLEEP_H |
| 19 | 19 | ||
| 20 | #include <mach/iomap.h> | 20 | #include "iomap.h" |
| 21 | 21 | ||
| 22 | #define TEGRA_ARM_PERIF_VIRT (TEGRA_ARM_PERIF_BASE - IO_CPU_PHYS \ | 22 | #define TEGRA_ARM_PERIF_VIRT (TEGRA_ARM_PERIF_BASE - IO_CPU_PHYS \ |
| 23 | + IO_CPU_VIRT) | 23 | + IO_CPU_VIRT) |
diff --git a/arch/arm/mach-tegra/tegra20_clocks.c b/arch/arm/mach-tegra/tegra20_clocks.c index deb873fb12b6..4eb6bc81a87b 100644 --- a/arch/arm/mach-tegra/tegra20_clocks.c +++ b/arch/arm/mach-tegra/tegra20_clocks.c | |||
| @@ -27,10 +27,9 @@ | |||
| 27 | #include <linux/clkdev.h> | 27 | #include <linux/clkdev.h> |
| 28 | #include <linux/clk.h> | 28 | #include <linux/clk.h> |
| 29 | 29 | ||
| 30 | #include <mach/iomap.h> | ||
| 31 | |||
| 32 | #include "clock.h" | 30 | #include "clock.h" |
| 33 | #include "fuse.h" | 31 | #include "fuse.h" |
| 32 | #include "iomap.h" | ||
| 34 | #include "tegra2_emc.h" | 33 | #include "tegra2_emc.h" |
| 35 | #include "tegra_cpu_car.h" | 34 | #include "tegra_cpu_car.h" |
| 36 | 35 | ||
diff --git a/arch/arm/mach-tegra/tegra20_clocks_data.c b/arch/arm/mach-tegra/tegra20_clocks_data.c index 8d398a33adf7..9615ee39c353 100644 --- a/arch/arm/mach-tegra/tegra20_clocks_data.c +++ b/arch/arm/mach-tegra/tegra20_clocks_data.c | |||
| @@ -27,8 +27,6 @@ | |||
| 27 | #include <linux/io.h> | 27 | #include <linux/io.h> |
| 28 | #include <linux/clk.h> | 28 | #include <linux/clk.h> |
| 29 | 29 | ||
| 30 | #include <mach/iomap.h> | ||
| 31 | |||
| 32 | #include "clock.h" | 30 | #include "clock.h" |
| 33 | #include "fuse.h" | 31 | #include "fuse.h" |
| 34 | #include "tegra2_emc.h" | 32 | #include "tegra2_emc.h" |
diff --git a/arch/arm/mach-tegra/tegra2_emc.c b/arch/arm/mach-tegra/tegra2_emc.c index 5070d833bdd1..837c7b9ea63b 100644 --- a/arch/arm/mach-tegra/tegra2_emc.c +++ b/arch/arm/mach-tegra/tegra2_emc.c | |||
| @@ -25,8 +25,6 @@ | |||
| 25 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
| 26 | #include <linux/platform_data/tegra_emc.h> | 26 | #include <linux/platform_data/tegra_emc.h> |
| 27 | 27 | ||
| 28 | #include <mach/iomap.h> | ||
| 29 | |||
| 30 | #include "tegra2_emc.h" | 28 | #include "tegra2_emc.h" |
| 31 | #include "fuse.h" | 29 | #include "fuse.h" |
| 32 | 30 | ||
diff --git a/arch/arm/mach-tegra/tegra30_clocks.c b/arch/arm/mach-tegra/tegra30_clocks.c index e9de5dfd94ec..000239d68393 100644 --- a/arch/arm/mach-tegra/tegra30_clocks.c +++ b/arch/arm/mach-tegra/tegra30_clocks.c | |||
| @@ -31,10 +31,9 @@ | |||
| 31 | 31 | ||
| 32 | #include <asm/clkdev.h> | 32 | #include <asm/clkdev.h> |
| 33 | 33 | ||
| 34 | #include <mach/iomap.h> | ||
| 35 | |||
| 36 | #include "clock.h" | 34 | #include "clock.h" |
| 37 | #include "fuse.h" | 35 | #include "fuse.h" |
| 36 | #include "iomap.h" | ||
| 38 | #include "tegra_cpu_car.h" | 37 | #include "tegra_cpu_car.h" |
| 39 | 38 | ||
| 40 | #define USE_PLL_LOCK_BITS 0 | 39 | #define USE_PLL_LOCK_BITS 0 |
diff --git a/arch/arm/mach-tegra/timer.c b/arch/arm/mach-tegra/timer.c index d3b8c8e7368f..6ff503536512 100644 --- a/arch/arm/mach-tegra/timer.c +++ b/arch/arm/mach-tegra/timer.c | |||
| @@ -31,11 +31,11 @@ | |||
| 31 | #include <asm/smp_twd.h> | 31 | #include <asm/smp_twd.h> |
| 32 | #include <asm/sched_clock.h> | 32 | #include <asm/sched_clock.h> |
| 33 | 33 | ||
| 34 | #include <mach/iomap.h> | ||
| 35 | #include <mach/irqs.h> | 34 | #include <mach/irqs.h> |
| 36 | 35 | ||
| 37 | #include "board.h" | 36 | #include "board.h" |
| 38 | #include "clock.h" | 37 | #include "clock.h" |
| 38 | #include "iomap.h" | ||
| 39 | 39 | ||
| 40 | #define RTC_SECONDS 0x08 | 40 | #define RTC_SECONDS 0x08 |
| 41 | #define RTC_SHADOW_SECONDS 0x0c | 41 | #define RTC_SHADOW_SECONDS 0x0c |
