diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-09-14 02:14:45 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-10-14 22:05:43 -0400 |
commit | 50f2de61269bbe2f40bead1969a9594fa8599b93 (patch) | |
tree | 842f17cd25c5350f602a3fb31960e34bb3855b21 /arch | |
parent | 6dde5ac5220b3b9c28f82f291b64eca3e5ebe80d (diff) |
ARM: imx: include hardware.h rather than mach/hardware.h
It moves a bunch of header files included in hardware.h and itself
from mach-imx/include/mach to mach-imx, and updates users to include
hardware.h rather than mach/hardware.h. The files in mach-imx/devices
will need to include "../hardware.h".
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
132 files changed, 160 insertions, 179 deletions
diff --git a/arch/arm/mach-imx/3ds_debugboard.c b/arch/arm/mach-imx/3ds_debugboard.c index 5c10ad05df74..134377352966 100644 --- a/arch/arm/mach-imx/3ds_debugboard.c +++ b/arch/arm/mach-imx/3ds_debugboard.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/regulator/machine.h> | 21 | #include <linux/regulator/machine.h> |
22 | #include <linux/regulator/fixed.h> | 22 | #include <linux/regulator/fixed.h> |
23 | 23 | ||
24 | #include <mach/hardware.h> | 24 | #include "hardware.h" |
25 | 25 | ||
26 | /* LAN9217 ethernet base address */ | 26 | /* LAN9217 ethernet base address */ |
27 | #define LAN9217_BASE_ADDR(n) (n + 0x0) | 27 | #define LAN9217_BASE_ADDR(n) (n + 0x0) |
diff --git a/arch/arm/mach-imx/avic.c b/arch/arm/mach-imx/avic.c index 204fd94c57d5..adc64bc5b343 100644 --- a/arch/arm/mach-imx/avic.c +++ b/arch/arm/mach-imx/avic.c | |||
@@ -24,10 +24,10 @@ | |||
24 | #include <linux/of.h> | 24 | #include <linux/of.h> |
25 | #include <asm/mach/irq.h> | 25 | #include <asm/mach/irq.h> |
26 | #include <asm/exception.h> | 26 | #include <asm/exception.h> |
27 | #include <mach/hardware.h> | ||
28 | #include <mach/irqs.h> | 27 | #include <mach/irqs.h> |
29 | 28 | ||
30 | #include "common.h" | 29 | #include "common.h" |
30 | #include "hardware.h" | ||
31 | #include "irq-common.h" | 31 | #include "irq-common.h" |
32 | 32 | ||
33 | #define AVIC_INTCNTL 0x00 /* int control reg */ | 33 | #define AVIC_INTCNTL 0x00 /* int control reg */ |
diff --git a/arch/arm/mach-imx/clk-imx1.c b/arch/arm/mach-imx/clk-imx1.c index 796d8b86e8b6..15f9d223cf0b 100644 --- a/arch/arm/mach-imx/clk-imx1.c +++ b/arch/arm/mach-imx/clk-imx1.c | |||
@@ -22,10 +22,9 @@ | |||
22 | #include <linux/clkdev.h> | 22 | #include <linux/clkdev.h> |
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | |||
27 | #include "clk.h" | 25 | #include "clk.h" |
28 | #include "common.h" | 26 | #include "common.h" |
27 | #include "hardware.h" | ||
29 | 28 | ||
30 | /* CCM register addresses */ | 29 | /* CCM register addresses */ |
31 | #define IO_ADDR_CCM(off) (MX1_IO_ADDRESS(MX1_CCM_BASE_ADDR + (off))) | 30 | #define IO_ADDR_CCM(off) (MX1_IO_ADDRESS(MX1_CCM_BASE_ADDR + (off))) |
diff --git a/arch/arm/mach-imx/clk-imx21.c b/arch/arm/mach-imx/clk-imx21.c index fcdaa9b9cec7..d7ed66091a2a 100644 --- a/arch/arm/mach-imx/clk-imx21.c +++ b/arch/arm/mach-imx/clk-imx21.c | |||
@@ -25,10 +25,9 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/err.h> | 26 | #include <linux/err.h> |
27 | 27 | ||
28 | #include <mach/hardware.h> | ||
29 | |||
30 | #include "clk.h" | 28 | #include "clk.h" |
31 | #include "common.h" | 29 | #include "common.h" |
30 | #include "hardware.h" | ||
32 | 31 | ||
33 | #define IO_ADDR_CCM(off) (MX21_IO_ADDRESS(MX21_CCM_BASE_ADDR + (off))) | 32 | #define IO_ADDR_CCM(off) (MX21_IO_ADDRESS(MX21_CCM_BASE_ADDR + (off))) |
34 | 33 | ||
diff --git a/arch/arm/mach-imx/clk-imx25.c b/arch/arm/mach-imx/clk-imx25.c index 08d98030e02f..fd8b27f965df 100644 --- a/arch/arm/mach-imx/clk-imx25.c +++ b/arch/arm/mach-imx/clk-imx25.c | |||
@@ -24,11 +24,10 @@ | |||
24 | #include <linux/clkdev.h> | 24 | #include <linux/clkdev.h> |
25 | #include <linux/err.h> | 25 | #include <linux/err.h> |
26 | 26 | ||
27 | #include <mach/hardware.h> | ||
28 | #include <mach/mx25.h> | ||
29 | |||
30 | #include "clk.h" | 27 | #include "clk.h" |
31 | #include "common.h" | 28 | #include "common.h" |
29 | #include "hardware.h" | ||
30 | #include "mx25.h" | ||
32 | 31 | ||
33 | #define CRM_BASE MX25_IO_ADDRESS(MX25_CRM_BASE_ADDR) | 32 | #define CRM_BASE MX25_IO_ADDRESS(MX25_CRM_BASE_ADDR) |
34 | 33 | ||
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c index 4204092ab64a..c3bddd3e2554 100644 --- a/arch/arm/mach-imx/clk-imx27.c +++ b/arch/arm/mach-imx/clk-imx27.c | |||
@@ -6,10 +6,9 @@ | |||
6 | #include <linux/clk-provider.h> | 6 | #include <linux/clk-provider.h> |
7 | #include <linux/of.h> | 7 | #include <linux/of.h> |
8 | 8 | ||
9 | #include <mach/hardware.h> | ||
10 | |||
11 | #include "clk.h" | 9 | #include "clk.h" |
12 | #include "common.h" | 10 | #include "common.h" |
11 | #include "hardware.h" | ||
13 | 12 | ||
14 | #define IO_ADDR_CCM(off) (MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR + (off))) | 13 | #define IO_ADDR_CCM(off) (MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR + (off))) |
15 | 14 | ||
diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c index 1277f732d1f9..8be64e0a4ace 100644 --- a/arch/arm/mach-imx/clk-imx31.c +++ b/arch/arm/mach-imx/clk-imx31.c | |||
@@ -22,12 +22,11 @@ | |||
22 | #include <linux/err.h> | 22 | #include <linux/err.h> |
23 | #include <linux/of.h> | 23 | #include <linux/of.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | #include <mach/mx31.h> | ||
27 | |||
28 | #include "clk.h" | 25 | #include "clk.h" |
29 | #include "common.h" | 26 | #include "common.h" |
30 | #include "crmregs-imx3.h" | 27 | #include "crmregs-imx3.h" |
28 | #include "hardware.h" | ||
29 | #include "mx31.h" | ||
31 | 30 | ||
32 | static const char *mcu_main_sel[] = { "spll", "mpll", }; | 31 | static const char *mcu_main_sel[] = { "spll", "mpll", }; |
33 | static const char *per_sel[] = { "per_div", "ipg", }; | 32 | static const char *per_sel[] = { "per_div", "ipg", }; |
diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c index fec48e656efa..66f3d65ea275 100644 --- a/arch/arm/mach-imx/clk-imx35.c +++ b/arch/arm/mach-imx/clk-imx35.c | |||
@@ -14,11 +14,10 @@ | |||
14 | #include <linux/of.h> | 14 | #include <linux/of.h> |
15 | #include <linux/err.h> | 15 | #include <linux/err.h> |
16 | 16 | ||
17 | #include <mach/hardware.h> | ||
18 | |||
19 | #include "crmregs-imx3.h" | 17 | #include "crmregs-imx3.h" |
20 | #include "clk.h" | 18 | #include "clk.h" |
21 | #include "common.h" | 19 | #include "common.h" |
20 | #include "hardware.h" | ||
22 | 21 | ||
23 | struct arm_ahb_div { | 22 | struct arm_ahb_div { |
24 | unsigned char arm, ahb, sel; | 23 | unsigned char arm, ahb, sel; |
diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index 4836b4d39a07..abb71f6b4d60 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c | |||
@@ -14,11 +14,10 @@ | |||
14 | #include <linux/of.h> | 14 | #include <linux/of.h> |
15 | #include <linux/err.h> | 15 | #include <linux/err.h> |
16 | 16 | ||
17 | #include <mach/hardware.h> | ||
18 | |||
19 | #include "crm-regs-imx5.h" | 17 | #include "crm-regs-imx5.h" |
20 | #include "clk.h" | 18 | #include "clk.h" |
21 | #include "common.h" | 19 | #include "common.h" |
20 | #include "hardware.h" | ||
22 | 21 | ||
23 | /* Low-power Audio Playback Mode clock */ | 22 | /* Low-power Audio Playback Mode clock */ |
24 | static const char *lp_apm_sel[] = { "osc", }; | 23 | static const char *lp_apm_sel[] = { "osc", }; |
diff --git a/arch/arm/mach-imx/clk-pllv1.c b/arch/arm/mach-imx/clk-pllv1.c index 02f9013d4992..abff350ba24c 100644 --- a/arch/arm/mach-imx/clk-pllv1.c +++ b/arch/arm/mach-imx/clk-pllv1.c | |||
@@ -4,10 +4,10 @@ | |||
4 | #include <linux/slab.h> | 4 | #include <linux/slab.h> |
5 | #include <linux/kernel.h> | 5 | #include <linux/kernel.h> |
6 | #include <linux/err.h> | 6 | #include <linux/err.h> |
7 | #include <mach/hardware.h> | ||
8 | 7 | ||
9 | #include "clk.h" | 8 | #include "clk.h" |
10 | #include "common.h" | 9 | #include "common.h" |
10 | #include "hardware.h" | ||
11 | 11 | ||
12 | /** | 12 | /** |
13 | * pll v1 | 13 | * pll v1 |
diff --git a/arch/arm/mach-imx/cpu-imx25.c b/arch/arm/mach-imx/cpu-imx25.c index 79d4d1c56898..96ec64b5ff7d 100644 --- a/arch/arm/mach-imx/cpu-imx25.c +++ b/arch/arm/mach-imx/cpu-imx25.c | |||
@@ -11,9 +11,9 @@ | |||
11 | */ | 11 | */ |
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <mach/hardware.h> | ||
15 | 14 | ||
16 | #include "iim.h" | 15 | #include "iim.h" |
16 | #include "hardware.h" | ||
17 | 17 | ||
18 | static int mx25_cpu_rev = -1; | 18 | static int mx25_cpu_rev = -1; |
19 | 19 | ||
diff --git a/arch/arm/mach-imx/cpu-imx27.c b/arch/arm/mach-imx/cpu-imx27.c index ff38e1505f67..fe8d36f7e30e 100644 --- a/arch/arm/mach-imx/cpu-imx27.c +++ b/arch/arm/mach-imx/cpu-imx27.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | 26 | ||
27 | #include <mach/hardware.h> | 27 | #include "hardware.h" |
28 | 28 | ||
29 | static int mx27_cpu_rev = -1; | 29 | static int mx27_cpu_rev = -1; |
30 | static int mx27_cpu_partnumber; | 30 | static int mx27_cpu_partnumber; |
diff --git a/arch/arm/mach-imx/cpu-imx31.c b/arch/arm/mach-imx/cpu-imx31.c index 51c938fefe6d..fde1860a2521 100644 --- a/arch/arm/mach-imx/cpu-imx31.c +++ b/arch/arm/mach-imx/cpu-imx31.c | |||
@@ -11,9 +11,9 @@ | |||
11 | 11 | ||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <mach/hardware.h> | ||
15 | 14 | ||
16 | #include "common.h" | 15 | #include "common.h" |
16 | #include "hardware.h" | ||
17 | #include "iim.h" | 17 | #include "iim.h" |
18 | 18 | ||
19 | static int mx31_cpu_rev = -1; | 19 | static int mx31_cpu_rev = -1; |
diff --git a/arch/arm/mach-imx/cpu-imx35.c b/arch/arm/mach-imx/cpu-imx35.c index 8b36d3ac79e2..ec3aaa098c17 100644 --- a/arch/arm/mach-imx/cpu-imx35.c +++ b/arch/arm/mach-imx/cpu-imx35.c | |||
@@ -10,8 +10,8 @@ | |||
10 | */ | 10 | */ |
11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
12 | #include <linux/io.h> | 12 | #include <linux/io.h> |
13 | #include <mach/hardware.h> | ||
14 | 13 | ||
14 | #include "hardware.h" | ||
15 | #include "iim.h" | 15 | #include "iim.h" |
16 | 16 | ||
17 | static int mx35_cpu_rev = -1; | 17 | static int mx35_cpu_rev = -1; |
diff --git a/arch/arm/mach-imx/cpu-imx5.c b/arch/arm/mach-imx/cpu-imx5.c index 8eb15a2fcaf9..d88760014ff9 100644 --- a/arch/arm/mach-imx/cpu-imx5.c +++ b/arch/arm/mach-imx/cpu-imx5.c | |||
@@ -15,9 +15,10 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <mach/hardware.h> | ||
19 | #include <linux/io.h> | 18 | #include <linux/io.h> |
20 | 19 | ||
20 | #include "hardware.h" | ||
21 | |||
21 | static int mx5_cpu_rev = -1; | 22 | static int mx5_cpu_rev = -1; |
22 | 23 | ||
23 | #define IIM_SREV 0x24 | 24 | #define IIM_SREV 0x24 |
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index 220dd6f93126..03fcbd082593 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c | |||
@@ -1,7 +1,8 @@ | |||
1 | 1 | ||
2 | #include <linux/module.h> | 2 | #include <linux/module.h> |
3 | #include <linux/io.h> | 3 | #include <linux/io.h> |
4 | #include <mach/hardware.h> | 4 | |
5 | #include "hardware.h" | ||
5 | 6 | ||
6 | unsigned int __mxc_cpu_type; | 7 | unsigned int __mxc_cpu_type; |
7 | EXPORT_SYMBOL(__mxc_cpu_type); | 8 | EXPORT_SYMBOL(__mxc_cpu_type); |
diff --git a/arch/arm/mach-imx/cpu_op-mx51.c b/arch/arm/mach-imx/cpu_op-mx51.c index 7b92cd6da6d3..b9ef692b61a2 100644 --- a/arch/arm/mach-imx/cpu_op-mx51.c +++ b/arch/arm/mach-imx/cpu_op-mx51.c | |||
@@ -13,9 +13,10 @@ | |||
13 | 13 | ||
14 | #include <linux/bug.h> | 14 | #include <linux/bug.h> |
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <mach/hardware.h> | ||
17 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
18 | 17 | ||
18 | #include "hardware.h" | ||
19 | |||
19 | static struct cpu_op mx51_cpu_op[] = { | 20 | static struct cpu_op mx51_cpu_op[] = { |
20 | { | 21 | { |
21 | .cpu_rate = 160000000,}, | 22 | .cpu_rate = 160000000,}, |
diff --git a/arch/arm/mach-imx/cpufreq.c b/arch/arm/mach-imx/cpufreq.c index b5b6f8083130..36e8b3994470 100644 --- a/arch/arm/mach-imx/cpufreq.c +++ b/arch/arm/mach-imx/cpufreq.c | |||
@@ -22,7 +22,8 @@ | |||
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <mach/hardware.h> | 25 | |
26 | #include "hardware.h" | ||
26 | 27 | ||
27 | #define CLK32_FREQ 32768 | 28 | #define CLK32_FREQ 32768 |
28 | #define NANOSECOND (1000 * 1000 * 1000) | 29 | #define NANOSECOND (1000 * 1000 * 1000) |
diff --git a/arch/arm/mach-imx/devices/platform-ahci-imx.c b/arch/arm/mach-imx/devices/platform-ahci-imx.c index bf7f46d930eb..3d87dd9c284a 100644 --- a/arch/arm/mach-imx/devices/platform-ahci-imx.c +++ b/arch/arm/mach-imx/devices/platform-ahci-imx.c | |||
@@ -24,7 +24,8 @@ | |||
24 | #include <linux/device.h> | 24 | #include <linux/device.h> |
25 | #include <linux/dma-mapping.h> | 25 | #include <linux/dma-mapping.h> |
26 | #include <asm/sizes.h> | 26 | #include <asm/sizes.h> |
27 | #include <mach/hardware.h> | 27 | |
28 | #include "../hardware.h" | ||
28 | #include "devices-common.h" | 29 | #include "devices-common.h" |
29 | 30 | ||
30 | #define imx_ahci_imx_data_entry_single(soc, _devid) \ | 31 | #define imx_ahci_imx_data_entry_single(soc, _devid) \ |
diff --git a/arch/arm/mach-imx/devices/platform-fec.c b/arch/arm/mach-imx/devices/platform-fec.c index e62114f1f4f4..2cb188ad9a0a 100644 --- a/arch/arm/mach-imx/devices/platform-fec.c +++ b/arch/arm/mach-imx/devices/platform-fec.c | |||
@@ -8,7 +8,8 @@ | |||
8 | */ | 8 | */ |
9 | #include <linux/dma-mapping.h> | 9 | #include <linux/dma-mapping.h> |
10 | #include <asm/sizes.h> | 10 | #include <asm/sizes.h> |
11 | #include <mach/hardware.h> | 11 | |
12 | #include "../hardware.h" | ||
12 | #include "devices-common.h" | 13 | #include "devices-common.h" |
13 | 14 | ||
14 | #define imx_fec_data_entry_single(soc, _devid) \ | 15 | #define imx_fec_data_entry_single(soc, _devid) \ |
diff --git a/arch/arm/mach-imx/devices/platform-flexcan.c b/arch/arm/mach-imx/devices/platform-flexcan.c index e776d8efea92..1078bf0a94ef 100644 --- a/arch/arm/mach-imx/devices/platform-flexcan.c +++ b/arch/arm/mach-imx/devices/platform-flexcan.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * the terms of the GNU General Public License version 2 as published by the | 5 | * the terms of the GNU General Public License version 2 as published by the |
6 | * Free Software Foundation. | 6 | * Free Software Foundation. |
7 | */ | 7 | */ |
8 | #include <mach/hardware.h> | 8 | #include "../hardware.h" |
9 | #include "devices-common.h" | 9 | #include "devices-common.h" |
10 | 10 | ||
11 | #define imx_flexcan_data_entry_single(soc, _id, _hwid, _size) \ | 11 | #define imx_flexcan_data_entry_single(soc, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c b/arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c index 6ecccf977746..37e44398197b 100644 --- a/arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c +++ b/arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <linux/dma-mapping.h> | 9 | #include <linux/dma-mapping.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_fsl_usb2_udc_data_entry_single(soc) \ | 14 | #define imx_fsl_usb2_udc_data_entry_single(soc) \ |
diff --git a/arch/arm/mach-imx/devices/platform-gpio_keys.c b/arch/arm/mach-imx/devices/platform-gpio_keys.c index 3f8727952ed9..486282539c76 100644 --- a/arch/arm/mach-imx/devices/platform-gpio_keys.c +++ b/arch/arm/mach-imx/devices/platform-gpio_keys.c | |||
@@ -16,7 +16,8 @@ | |||
16 | * Boston, MA 02110-1301, USA. | 16 | * Boston, MA 02110-1301, USA. |
17 | */ | 17 | */ |
18 | #include <asm/sizes.h> | 18 | #include <asm/sizes.h> |
19 | #include <mach/hardware.h> | 19 | |
20 | #include "../hardware.h" | ||
20 | #include "devices-common.h" | 21 | #include "devices-common.h" |
21 | 22 | ||
22 | struct platform_device *__init imx_add_gpio_keys( | 23 | struct platform_device *__init imx_add_gpio_keys( |
diff --git a/arch/arm/mach-imx/devices/platform-imx-fb.c b/arch/arm/mach-imx/devices/platform-imx-fb.c index abea28bea282..10b0ed39f07f 100644 --- a/arch/arm/mach-imx/devices/platform-imx-fb.c +++ b/arch/arm/mach-imx/devices/platform-imx-fb.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <linux/dma-mapping.h> | 9 | #include <linux/dma-mapping.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_imx_fb_data_entry_single(soc, _devid, _size) \ | 14 | #define imx_imx_fb_data_entry_single(soc, _devid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx-i2c.c b/arch/arm/mach-imx/devices/platform-imx-i2c.c index 424ce246fe43..8e30e5703cd2 100644 --- a/arch/arm/mach-imx/devices/platform-imx-i2c.c +++ b/arch/arm/mach-imx/devices/platform-imx-i2c.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size) \ | 12 | #define imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx-keypad.c b/arch/arm/mach-imx/devices/platform-imx-keypad.c index 371b1e6ec954..8f22a4c98a4c 100644 --- a/arch/arm/mach-imx/devices/platform-imx-keypad.c +++ b/arch/arm/mach-imx/devices/platform-imx-keypad.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_imx_keypad_data_entry_single(soc, _size) \ | 12 | #define imx_imx_keypad_data_entry_single(soc, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx-ssi.c b/arch/arm/mach-imx/devices/platform-imx-ssi.c index bf0c5e4e2d1b..bfcb8f3dfa8d 100644 --- a/arch/arm/mach-imx/devices/platform-imx-ssi.c +++ b/arch/arm/mach-imx/devices/platform-imx-ssi.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_imx_ssi_data_entry(soc, _id, _hwid, _size) \ | 12 | #define imx_imx_ssi_data_entry(soc, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx-uart.c b/arch/arm/mach-imx/devices/platform-imx-uart.c index e6132f2b98e6..67bf866a2cb6 100644 --- a/arch/arm/mach-imx/devices/platform-imx-uart.c +++ b/arch/arm/mach-imx/devices/platform-imx-uart.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_imx_uart_3irq_data_entry(soc, _id, _hwid, _size) \ | 12 | #define imx_imx_uart_3irq_data_entry(soc, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx2-wdt.c b/arch/arm/mach-imx/devices/platform-imx2-wdt.c index 729c1914e221..ec75d6413686 100644 --- a/arch/arm/mach-imx/devices/platform-imx2-wdt.c +++ b/arch/arm/mach-imx/devices/platform-imx2-wdt.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <asm/sizes.h> | 9 | #include <asm/sizes.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \ | 14 | #define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx21-hcd.c b/arch/arm/mach-imx/devices/platform-imx21-hcd.c index 18b9963f6079..30c81616a9a1 100644 --- a/arch/arm/mach-imx/devices/platform-imx21-hcd.c +++ b/arch/arm/mach-imx/devices/platform-imx21-hcd.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_imx21_hcd_data_entry_single(soc) \ | 12 | #define imx_imx21_hcd_data_entry_single(soc) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imx27-coda.c b/arch/arm/mach-imx/devices/platform-imx27-coda.c index 54996038e754..25bebc29e546 100644 --- a/arch/arm/mach-imx/devices/platform-imx27-coda.c +++ b/arch/arm/mach-imx/devices/platform-imx27-coda.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <mach/hardware.h> | 10 | #include "../hardware.h" |
11 | #include "devices-common.h" | 11 | #include "devices-common.h" |
12 | 12 | ||
13 | #ifdef CONFIG_SOC_IMX27 | 13 | #ifdef CONFIG_SOC_IMX27 |
diff --git a/arch/arm/mach-imx/devices/platform-imx_udc.c b/arch/arm/mach-imx/devices/platform-imx_udc.c index 75aee0bf034d..5ced7e4e2c71 100644 --- a/arch/arm/mach-imx/devices/platform-imx_udc.c +++ b/arch/arm/mach-imx/devices/platform-imx_udc.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_imx_udc_data_entry_single(soc, _size) \ | 12 | #define imx_imx_udc_data_entry_single(soc, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-imxdi_rtc.c b/arch/arm/mach-imx/devices/platform-imxdi_rtc.c index e4b22eb5950e..5bb490d556ea 100644 --- a/arch/arm/mach-imx/devices/platform-imxdi_rtc.c +++ b/arch/arm/mach-imx/devices/platform-imxdi_rtc.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <asm/sizes.h> | 9 | #include <asm/sizes.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_imxdi_rtc_data_entry_single(soc) \ | 14 | #define imx_imxdi_rtc_data_entry_single(soc) \ |
diff --git a/arch/arm/mach-imx/devices/platform-ipu-core.c b/arch/arm/mach-imx/devices/platform-ipu-core.c index dc0e8370caef..fc4dd7cedc11 100644 --- a/arch/arm/mach-imx/devices/platform-ipu-core.c +++ b/arch/arm/mach-imx/devices/platform-ipu-core.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <linux/dma-mapping.h> | 9 | #include <linux/dma-mapping.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_ipu_core_entry_single(soc) \ | 14 | #define imx_ipu_core_entry_single(soc) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mx1-camera.c b/arch/arm/mach-imx/devices/platform-mx1-camera.c index 756b0e659b2d..2c6788131080 100644 --- a/arch/arm/mach-imx/devices/platform-mx1-camera.c +++ b/arch/arm/mach-imx/devices/platform-mx1-camera.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_mx1_camera_data_entry_single(soc, _size) \ | 12 | #define imx_mx1_camera_data_entry_single(soc, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mx2-camera.c b/arch/arm/mach-imx/devices/platform-mx2-camera.c index b88877d54d7f..f4910160346b 100644 --- a/arch/arm/mach-imx/devices/platform-mx2-camera.c +++ b/arch/arm/mach-imx/devices/platform-mx2-camera.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_mx2_camera_data_entry_single(soc, _devid) \ | 12 | #define imx_mx2_camera_data_entry_single(soc, _devid) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mxc-ehci.c b/arch/arm/mach-imx/devices/platform-mxc-ehci.c index 27c81713a645..5d4bbbfde641 100644 --- a/arch/arm/mach-imx/devices/platform-mxc-ehci.c +++ b/arch/arm/mach-imx/devices/platform-mxc-ehci.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <linux/dma-mapping.h> | 9 | #include <linux/dma-mapping.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_mxc_ehci_data_entry_single(soc, _id, hs) \ | 14 | #define imx_mxc_ehci_data_entry_single(soc, _id, hs) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mxc-mmc.c b/arch/arm/mach-imx/devices/platform-mxc-mmc.c index 487f61cfbc8f..7da19afa1bba 100644 --- a/arch/arm/mach-imx/devices/platform-mxc-mmc.c +++ b/arch/arm/mach-imx/devices/platform-mxc-mmc.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <linux/dma-mapping.h> | 9 | #include <linux/dma-mapping.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size) \ | 14 | #define imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mxc_nand.c b/arch/arm/mach-imx/devices/platform-mxc_nand.c index 24aaad1a58c9..7af1c53e42b5 100644 --- a/arch/arm/mach-imx/devices/platform-mxc_nand.c +++ b/arch/arm/mach-imx/devices/platform-mxc_nand.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <asm/sizes.h> | 9 | #include <asm/sizes.h> |
10 | #include <mach/hardware.h> | 10 | |
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_mxc_nand_data_entry_single(soc, _devid, _size) \ | 14 | #define imx_mxc_nand_data_entry_single(soc, _devid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mxc_pwm.c b/arch/arm/mach-imx/devices/platform-mxc_pwm.c index a0551bfff550..dcd289777687 100644 --- a/arch/arm/mach-imx/devices/platform-mxc_pwm.c +++ b/arch/arm/mach-imx/devices/platform-mxc_pwm.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_mxc_pwm_data_entry_single(soc, _id, _hwid, _size) \ | 12 | #define imx_mxc_pwm_data_entry_single(soc, _id, _hwid, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mxc_rnga.c b/arch/arm/mach-imx/devices/platform-mxc_rnga.c index 37bb23caa9d8..c58404badb59 100644 --- a/arch/arm/mach-imx/devices/platform-mxc_rnga.c +++ b/arch/arm/mach-imx/devices/platform-mxc_rnga.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | struct imx_mxc_rnga_data { | 12 | struct imx_mxc_rnga_data { |
diff --git a/arch/arm/mach-imx/devices/platform-mxc_rtc.c b/arch/arm/mach-imx/devices/platform-mxc_rtc.c index f35f848b0d5a..c7fffaadf847 100644 --- a/arch/arm/mach-imx/devices/platform-mxc_rtc.c +++ b/arch/arm/mach-imx/devices/platform-mxc_rtc.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_mxc_rtc_data_entry_single(soc, _devid) \ | 12 | #define imx_mxc_rtc_data_entry_single(soc, _devid) \ |
diff --git a/arch/arm/mach-imx/devices/platform-mxc_w1.c b/arch/arm/mach-imx/devices/platform-mxc_w1.c index 5f972c669567..88c18b720d63 100644 --- a/arch/arm/mach-imx/devices/platform-mxc_w1.c +++ b/arch/arm/mach-imx/devices/platform-mxc_w1.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_mxc_w1_data_entry_single(soc) \ | 12 | #define imx_mxc_w1_data_entry_single(soc) \ |
diff --git a/arch/arm/mach-imx/devices/platform-pata_imx.c b/arch/arm/mach-imx/devices/platform-pata_imx.c index 3627ec8d8a97..e4ec11c8ce55 100644 --- a/arch/arm/mach-imx/devices/platform-pata_imx.c +++ b/arch/arm/mach-imx/devices/platform-pata_imx.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * the terms of the GNU General Public License version 2 as published by the | 3 | * the terms of the GNU General Public License version 2 as published by the |
4 | * Free Software Foundation. | 4 | * Free Software Foundation. |
5 | */ | 5 | */ |
6 | #include <mach/hardware.h> | 6 | #include "../hardware.h" |
7 | #include "devices-common.h" | 7 | #include "devices-common.h" |
8 | 8 | ||
9 | #define imx_pata_imx_data_entry_single(soc, _size) \ | 9 | #define imx_pata_imx_data_entry_single(soc, _size) \ |
diff --git a/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c b/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c index 772ba2dc3f5e..e66a4e316311 100644 --- a/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c +++ b/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c | |||
@@ -6,8 +6,9 @@ | |||
6 | * Free Software Foundation. | 6 | * Free Software Foundation. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <mach/hardware.h> | ||
10 | #include <linux/platform_data/mmc-esdhc-imx.h> | 9 | #include <linux/platform_data/mmc-esdhc-imx.h> |
10 | |||
11 | #include "../hardware.h" | ||
11 | #include "devices-common.h" | 12 | #include "devices-common.h" |
12 | 13 | ||
13 | #define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid) \ | 14 | #define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid) \ |
diff --git a/arch/arm/mach-imx/devices/platform-spi_imx.c b/arch/arm/mach-imx/devices/platform-spi_imx.c index 63a116bae10e..8880bcb11e05 100644 --- a/arch/arm/mach-imx/devices/platform-spi_imx.c +++ b/arch/arm/mach-imx/devices/platform-spi_imx.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * the terms of the GNU General Public License version 2 as published by the | 6 | * the terms of the GNU General Public License version 2 as published by the |
7 | * Free Software Foundation. | 7 | * Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <mach/hardware.h> | 9 | #include "../hardware.h" |
10 | #include "devices-common.h" | 10 | #include "devices-common.h" |
11 | 11 | ||
12 | #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ | 12 | #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ |
diff --git a/arch/arm/mach-imx/ehci-imx25.c b/arch/arm/mach-imx/ehci-imx25.c index 412c583a24b0..27e40d17de99 100644 --- a/arch/arm/mach-imx/ehci-imx25.c +++ b/arch/arm/mach-imx/ehci-imx25.c | |||
@@ -15,10 +15,10 @@ | |||
15 | 15 | ||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | |||
19 | #include <mach/hardware.h> | ||
20 | #include <linux/platform_data/usb-ehci-mxc.h> | 18 | #include <linux/platform_data/usb-ehci-mxc.h> |
21 | 19 | ||
20 | #include "hardware.h" | ||
21 | |||
22 | #define USBCTRL_OTGBASE_OFFSET 0x600 | 22 | #define USBCTRL_OTGBASE_OFFSET 0x600 |
23 | 23 | ||
24 | #define MX25_OTG_SIC_SHIFT 29 | 24 | #define MX25_OTG_SIC_SHIFT 29 |
diff --git a/arch/arm/mach-imx/ehci-imx27.c b/arch/arm/mach-imx/ehci-imx27.c index cd6e1f81508d..448d9115539d 100644 --- a/arch/arm/mach-imx/ehci-imx27.c +++ b/arch/arm/mach-imx/ehci-imx27.c | |||
@@ -15,10 +15,10 @@ | |||
15 | 15 | ||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | |||
19 | #include <mach/hardware.h> | ||
20 | #include <linux/platform_data/usb-ehci-mxc.h> | 18 | #include <linux/platform_data/usb-ehci-mxc.h> |
21 | 19 | ||
20 | #include "hardware.h" | ||
21 | |||
22 | #define USBCTRL_OTGBASE_OFFSET 0x600 | 22 | #define USBCTRL_OTGBASE_OFFSET 0x600 |
23 | 23 | ||
24 | #define MX27_OTG_SIC_SHIFT 29 | 24 | #define MX27_OTG_SIC_SHIFT 29 |
diff --git a/arch/arm/mach-imx/ehci-imx31.c b/arch/arm/mach-imx/ehci-imx31.c index 9a880c78af34..05de4e1e39d7 100644 --- a/arch/arm/mach-imx/ehci-imx31.c +++ b/arch/arm/mach-imx/ehci-imx31.c | |||
@@ -15,10 +15,10 @@ | |||
15 | 15 | ||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | |||
19 | #include <mach/hardware.h> | ||
20 | #include <linux/platform_data/usb-ehci-mxc.h> | 18 | #include <linux/platform_data/usb-ehci-mxc.h> |
21 | 19 | ||
20 | #include "hardware.h" | ||
21 | |||
22 | #define USBCTRL_OTGBASE_OFFSET 0x600 | 22 | #define USBCTRL_OTGBASE_OFFSET 0x600 |
23 | 23 | ||
24 | #define MX31_OTG_SIC_SHIFT 29 | 24 | #define MX31_OTG_SIC_SHIFT 29 |
diff --git a/arch/arm/mach-imx/ehci-imx35.c b/arch/arm/mach-imx/ehci-imx35.c index 779e16eb65cb..a596f709a937 100644 --- a/arch/arm/mach-imx/ehci-imx35.c +++ b/arch/arm/mach-imx/ehci-imx35.c | |||
@@ -15,10 +15,10 @@ | |||
15 | 15 | ||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | |||
19 | #include <mach/hardware.h> | ||
20 | #include <linux/platform_data/usb-ehci-mxc.h> | 18 | #include <linux/platform_data/usb-ehci-mxc.h> |
21 | 19 | ||
20 | #include "hardware.h" | ||
21 | |||
22 | #define USBCTRL_OTGBASE_OFFSET 0x600 | 22 | #define USBCTRL_OTGBASE_OFFSET 0x600 |
23 | 23 | ||
24 | #define MX35_OTG_SIC_SHIFT 29 | 24 | #define MX35_OTG_SIC_SHIFT 29 |
diff --git a/arch/arm/mach-imx/ehci-imx5.c b/arch/arm/mach-imx/ehci-imx5.c index cf8d00e5cce1..e49710b10c68 100644 --- a/arch/arm/mach-imx/ehci-imx5.c +++ b/arch/arm/mach-imx/ehci-imx5.c | |||
@@ -15,10 +15,10 @@ | |||
15 | 15 | ||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | |||
19 | #include <mach/hardware.h> | ||
20 | #include <linux/platform_data/usb-ehci-mxc.h> | 18 | #include <linux/platform_data/usb-ehci-mxc.h> |
21 | 19 | ||
20 | #include "hardware.h" | ||
21 | |||
22 | #define MXC_OTG_OFFSET 0 | 22 | #define MXC_OTG_OFFSET 0 |
23 | #define MXC_H1_OFFSET 0x200 | 23 | #define MXC_H1_OFFSET 0x200 |
24 | #define MXC_H2_OFFSET 0x400 | 24 | #define MXC_H2_OFFSET 0x400 |
diff --git a/arch/arm/mach-imx/epit.c b/arch/arm/mach-imx/epit.c index 76720f528b1c..04a5961beeac 100644 --- a/arch/arm/mach-imx/epit.c +++ b/arch/arm/mach-imx/epit.c | |||
@@ -51,11 +51,10 @@ | |||
51 | #include <linux/clockchips.h> | 51 | #include <linux/clockchips.h> |
52 | #include <linux/clk.h> | 52 | #include <linux/clk.h> |
53 | #include <linux/err.h> | 53 | #include <linux/err.h> |
54 | |||
55 | #include <mach/hardware.h> | ||
56 | #include <asm/mach/time.h> | 54 | #include <asm/mach/time.h> |
57 | 55 | ||
58 | #include "common.h" | 56 | #include "common.h" |
57 | #include "hardware.h" | ||
59 | 58 | ||
60 | static struct clock_event_device clockevent_epit; | 59 | static struct clock_event_device clockevent_epit; |
61 | static enum clock_event_mode clockevent_mode = CLOCK_EVT_MODE_UNUSED; | 60 | static enum clock_event_mode clockevent_mode = CLOCK_EVT_MODE_UNUSED; |
diff --git a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c index 27b55702bda2..b4c70028d359 100644 --- a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c | |||
@@ -29,10 +29,9 @@ | |||
29 | 29 | ||
30 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
31 | 31 | ||
32 | #include <mach/hardware.h> | ||
33 | |||
34 | #include "common.h" | 32 | #include "common.h" |
35 | #include "devices-imx27.h" | 33 | #include "devices-imx27.h" |
34 | #include "hardware.h" | ||
36 | #include "iomux-mx27.h" | 35 | #include "iomux-mx27.h" |
37 | 36 | ||
38 | static const int eukrea_mbimx27_pins[] __initconst = { | 37 | static const int eukrea_mbimx27_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c index 34e46dcfb6d4..e2b70f4c1a2c 100644 --- a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c | |||
@@ -26,14 +26,14 @@ | |||
26 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
27 | #include <video/platform_lcd.h> | 27 | #include <video/platform_lcd.h> |
28 | 28 | ||
29 | #include <mach/hardware.h> | ||
30 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
31 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
32 | #include <mach/mx25.h> | ||
33 | 31 | ||
34 | #include "common.h" | 32 | #include "common.h" |
35 | #include "devices-imx25.h" | 33 | #include "devices-imx25.h" |
34 | #include "hardware.h" | ||
36 | #include "iomux-mx25.h" | 35 | #include "iomux-mx25.h" |
36 | #include "mx25.h" | ||
37 | 37 | ||
38 | static iomux_v3_cfg_t eukrea_mbimxsd_pads[] = { | 38 | static iomux_v3_cfg_t eukrea_mbimxsd_pads[] = { |
39 | /* LCD */ | 39 | /* LCD */ |
diff --git a/arch/arm/mach-imx/eukrea_mbimxsd35-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd35-baseboard.c index 63a42f6f9c29..5a2d5ef12dd5 100644 --- a/arch/arm/mach-imx/eukrea_mbimxsd35-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimxsd35-baseboard.c | |||
@@ -36,10 +36,9 @@ | |||
36 | #include <asm/mach/time.h> | 36 | #include <asm/mach/time.h> |
37 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
38 | 38 | ||
39 | #include <mach/hardware.h> | ||
40 | |||
41 | #include "common.h" | 39 | #include "common.h" |
42 | #include "devices-imx35.h" | 40 | #include "devices-imx35.h" |
41 | #include "hardware.h" | ||
43 | #include "iomux-mx35.h" | 42 | #include "iomux-mx35.h" |
44 | 43 | ||
45 | static const struct fb_videomode fb_modedb[] = { | 44 | static const struct fb_videomode fb_modedb[] = { |
diff --git a/arch/arm/mach-imx/eukrea_mbimxsd51-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd51-baseboard.c index f1cf52193000..9be6c1e69d68 100644 --- a/arch/arm/mach-imx/eukrea_mbimxsd51-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimxsd51-baseboard.c | |||
@@ -36,10 +36,9 @@ | |||
36 | #include <asm/mach/time.h> | 36 | #include <asm/mach/time.h> |
37 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
38 | 38 | ||
39 | #include <mach/hardware.h> | ||
40 | |||
41 | #include "common.h" | 39 | #include "common.h" |
42 | #include "devices-imx51.h" | 40 | #include "devices-imx51.h" |
41 | #include "hardware.h" | ||
43 | #include "iomux-mx51.h" | 42 | #include "iomux-mx51.h" |
44 | 43 | ||
45 | static iomux_v3_cfg_t eukrea_mbimxsd51_pads[] = { | 44 | static iomux_v3_cfg_t eukrea_mbimxsd51_pads[] = { |
diff --git a/arch/arm/mach-imx/include/mach/hardware.h b/arch/arm/mach-imx/hardware.h index ebf10654bb42..3ce7fa3bd43f 100644 --- a/arch/arm/mach-imx/include/mach/hardware.h +++ b/arch/arm/mach-imx/hardware.h | |||
@@ -105,20 +105,20 @@ | |||
105 | 105 | ||
106 | #define IMX_IO_ADDRESS(x) IOMEM(IMX_IO_P2V(x)) | 106 | #define IMX_IO_ADDRESS(x) IOMEM(IMX_IO_P2V(x)) |
107 | 107 | ||
108 | #include <mach/mxc.h> | 108 | #include "mxc.h" |
109 | 109 | ||
110 | #include <mach/mx6q.h> | 110 | #include "mx6q.h" |
111 | #include <mach/mx50.h> | 111 | #include "mx50.h" |
112 | #include <mach/mx51.h> | 112 | #include "mx51.h" |
113 | #include <mach/mx53.h> | 113 | #include "mx53.h" |
114 | #include <mach/mx3x.h> | 114 | #include "mx3x.h" |
115 | #include <mach/mx31.h> | 115 | #include "mx31.h" |
116 | #include <mach/mx35.h> | 116 | #include "mx35.h" |
117 | #include <mach/mx2x.h> | 117 | #include "mx2x.h" |
118 | #include <mach/mx21.h> | 118 | #include "mx21.h" |
119 | #include <mach/mx27.h> | 119 | #include "mx27.h" |
120 | #include <mach/mx1.h> | 120 | #include "mx1.h" |
121 | #include <mach/mx25.h> | 121 | #include "mx25.h" |
122 | 122 | ||
123 | #define imx_map_entry(soc, name, _type) { \ | 123 | #define imx_map_entry(soc, name, _type) { \ |
124 | .virtual = soc ## _IO_P2V(soc ## _ ## name ## _BASE_ADDR), \ | 124 | .virtual = soc ## _IO_P2V(soc ## _ ## name ## _BASE_ADDR), \ |
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c index a6c288e180ce..ebfae96543c4 100644 --- a/arch/arm/mach-imx/imx27-dt.c +++ b/arch/arm/mach-imx/imx27-dt.c | |||
@@ -14,9 +14,9 @@ | |||
14 | #include <linux/of_platform.h> | 14 | #include <linux/of_platform.h> |
15 | #include <asm/mach/arch.h> | 15 | #include <asm/mach/arch.h> |
16 | #include <asm/mach/time.h> | 16 | #include <asm/mach/time.h> |
17 | #include <mach/mx27.h> | ||
18 | 17 | ||
19 | #include "common.h" | 18 | #include "common.h" |
19 | #include "mx27.h" | ||
20 | 20 | ||
21 | static const struct of_dev_auxdata imx27_auxdata_lookup[] __initconst = { | 21 | static const struct of_dev_auxdata imx27_auxdata_lookup[] __initconst = { |
22 | OF_DEV_AUXDATA("fsl,imx27-uart", MX27_UART1_BASE_ADDR, "imx21-uart.0", NULL), | 22 | OF_DEV_AUXDATA("fsl,imx27-uart", MX27_UART1_BASE_ADDR, "imx21-uart.0", NULL), |
diff --git a/arch/arm/mach-imx/imx31-dt.c b/arch/arm/mach-imx/imx31-dt.c index 408afcc91f0f..af476de2570e 100644 --- a/arch/arm/mach-imx/imx31-dt.c +++ b/arch/arm/mach-imx/imx31-dt.c | |||
@@ -14,9 +14,9 @@ | |||
14 | #include <linux/of_platform.h> | 14 | #include <linux/of_platform.h> |
15 | #include <asm/mach/arch.h> | 15 | #include <asm/mach/arch.h> |
16 | #include <asm/mach/time.h> | 16 | #include <asm/mach/time.h> |
17 | #include <mach/mx31.h> | ||
18 | 17 | ||
19 | #include "common.h" | 18 | #include "common.h" |
19 | #include "mx31.h" | ||
20 | 20 | ||
21 | static const struct of_dev_auxdata imx31_auxdata_lookup[] __initconst = { | 21 | static const struct of_dev_auxdata imx31_auxdata_lookup[] __initconst = { |
22 | OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART1_BASE_ADDR, | 22 | OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART1_BASE_ADDR, |
diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c index a0391a14ad22..50742990a136 100644 --- a/arch/arm/mach-imx/imx51-dt.c +++ b/arch/arm/mach-imx/imx51-dt.c | |||
@@ -15,9 +15,9 @@ | |||
15 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
16 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
17 | #include <asm/mach/time.h> | 17 | #include <asm/mach/time.h> |
18 | #include <mach/mx51.h> | ||
19 | 18 | ||
20 | #include "common.h" | 19 | #include "common.h" |
20 | #include "mx51.h" | ||
21 | 21 | ||
22 | /* | 22 | /* |
23 | * Lookup table for attaching a specific name and platform_data pointer to | 23 | * Lookup table for attaching a specific name and platform_data pointer to |
diff --git a/arch/arm/mach-imx/iomux-imx31.c b/arch/arm/mach-imx/iomux-imx31.c index 7c3ba2b53641..cabefbc5e7c1 100644 --- a/arch/arm/mach-imx/iomux-imx31.c +++ b/arch/arm/mach-imx/iomux-imx31.c | |||
@@ -22,8 +22,8 @@ | |||
22 | #include <linux/spinlock.h> | 22 | #include <linux/spinlock.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <mach/hardware.h> | ||
26 | 25 | ||
26 | #include "hardware.h" | ||
27 | #include "iomux-mx3.h" | 27 | #include "iomux-mx3.h" |
28 | 28 | ||
29 | /* | 29 | /* |
diff --git a/arch/arm/mach-imx/iomux-v1.c b/arch/arm/mach-imx/iomux-v1.c index 2ac5580ede3f..2b156d1d9e21 100644 --- a/arch/arm/mach-imx/iomux-v1.c +++ b/arch/arm/mach-imx/iomux-v1.c | |||
@@ -28,9 +28,9 @@ | |||
28 | #include <linux/string.h> | 28 | #include <linux/string.h> |
29 | #include <linux/gpio.h> | 29 | #include <linux/gpio.h> |
30 | 30 | ||
31 | #include <mach/hardware.h> | ||
32 | #include <asm/mach/map.h> | 31 | #include <asm/mach/map.h> |
33 | 32 | ||
33 | #include "hardware.h" | ||
34 | #include "iomux-v1.h" | 34 | #include "iomux-v1.h" |
35 | 35 | ||
36 | static void __iomem *imx_iomuxv1_baseaddr; | 36 | static void __iomem *imx_iomuxv1_baseaddr; |
diff --git a/arch/arm/mach-imx/iomux-v3.c b/arch/arm/mach-imx/iomux-v3.c index de1459c57a91..9dae74bf47fc 100644 --- a/arch/arm/mach-imx/iomux-v3.c +++ b/arch/arm/mach-imx/iomux-v3.c | |||
@@ -25,9 +25,9 @@ | |||
25 | #include <linux/string.h> | 25 | #include <linux/string.h> |
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
27 | 27 | ||
28 | #include <mach/hardware.h> | ||
29 | #include <asm/mach/map.h> | 28 | #include <asm/mach/map.h> |
30 | 29 | ||
30 | #include "hardware.h" | ||
31 | #include "iomux-v3.h" | 31 | #include "iomux-v3.h" |
32 | 32 | ||
33 | static void __iomem *base; | 33 | static void __iomem *base; |
diff --git a/arch/arm/mach-imx/lluart.c b/arch/arm/mach-imx/lluart.c index c40a34c00489..5f1510363ee7 100644 --- a/arch/arm/mach-imx/lluart.c +++ b/arch/arm/mach-imx/lluart.c | |||
@@ -14,7 +14,8 @@ | |||
14 | #include <asm/page.h> | 14 | #include <asm/page.h> |
15 | #include <asm/sizes.h> | 15 | #include <asm/sizes.h> |
16 | #include <asm/mach/map.h> | 16 | #include <asm/mach/map.h> |
17 | #include <mach/hardware.h> | 17 | |
18 | #include "hardware.h" | ||
18 | 19 | ||
19 | static struct map_desc imx_lluart_desc = { | 20 | static struct map_desc imx_lluart_desc = { |
20 | #ifdef CONFIG_DEBUG_IMX6Q_UART2 | 21 | #ifdef CONFIG_DEBUG_IMX6Q_UART2 |
diff --git a/arch/arm/mach-imx/mach-apf9328.c b/arch/arm/mach-imx/mach-apf9328.c index a0b4c3fd2891..5c9bd2c66e6d 100644 --- a/arch/arm/mach-imx/mach-apf9328.c +++ b/arch/arm/mach-imx/mach-apf9328.c | |||
@@ -25,10 +25,9 @@ | |||
25 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
26 | #include <asm/mach/time.h> | 26 | #include <asm/mach/time.h> |
27 | 27 | ||
28 | #include <mach/hardware.h> | ||
29 | |||
30 | #include "common.h" | 28 | #include "common.h" |
31 | #include "devices-imx1.h" | 29 | #include "devices-imx1.h" |
30 | #include "hardware.h" | ||
32 | #include "iomux-mx1.h" | 31 | #include "iomux-mx1.h" |
33 | 32 | ||
34 | static const int apf9328_pins[] __initconst = { | 33 | static const int apf9328_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/mach-armadillo5x0.c b/arch/arm/mach-imx/mach-armadillo5x0.c index afa991b7d66b..59bd6b06a6b5 100644 --- a/arch/arm/mach-imx/mach-armadillo5x0.c +++ b/arch/arm/mach-imx/mach-armadillo5x0.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <linux/regulator/machine.h> | 41 | #include <linux/regulator/machine.h> |
42 | #include <linux/regulator/fixed.h> | 42 | #include <linux/regulator/fixed.h> |
43 | 43 | ||
44 | #include <mach/hardware.h> | ||
45 | #include <asm/mach-types.h> | 44 | #include <asm/mach-types.h> |
46 | #include <asm/mach/arch.h> | 45 | #include <asm/mach/arch.h> |
47 | #include <asm/mach/time.h> | 46 | #include <asm/mach/time.h> |
@@ -51,6 +50,7 @@ | |||
51 | #include "common.h" | 50 | #include "common.h" |
52 | #include "devices-imx31.h" | 51 | #include "devices-imx31.h" |
53 | #include "crmregs-imx3.h" | 52 | #include "crmregs-imx3.h" |
53 | #include "hardware.h" | ||
54 | #include "iomux-mx3.h" | 54 | #include "iomux-mx3.h" |
55 | #include "ulpi.h" | 55 | #include "ulpi.h" |
56 | 56 | ||
diff --git a/arch/arm/mach-imx/mach-bug.c b/arch/arm/mach-imx/mach-bug.c index b98e982918f0..3a39d5aec07a 100644 --- a/arch/arm/mach-imx/mach-bug.c +++ b/arch/arm/mach-imx/mach-bug.c | |||
@@ -19,14 +19,13 @@ | |||
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | 21 | ||
22 | #include <mach/hardware.h> | ||
23 | |||
24 | #include <asm/mach/time.h> | 22 | #include <asm/mach/time.h> |
25 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
26 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
27 | 25 | ||
28 | #include "common.h" | 26 | #include "common.h" |
29 | #include "devices-imx31.h" | 27 | #include "devices-imx31.h" |
28 | #include "hardware.h" | ||
30 | #include "iomux-mx3.h" | 29 | #include "iomux-mx3.h" |
31 | 30 | ||
32 | static const struct imxuart_platform_data uart_pdata __initconst = { | 31 | static const struct imxuart_platform_data uart_pdata __initconst = { |
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c index 37571f304c5d..12a370646b45 100644 --- a/arch/arm/mach-imx/mach-cpuimx27.c +++ b/arch/arm/mach-imx/mach-cpuimx27.c | |||
@@ -34,11 +34,10 @@ | |||
34 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
35 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
36 | 36 | ||
37 | #include <mach/hardware.h> | ||
38 | |||
39 | #include "common.h" | 37 | #include "common.h" |
40 | #include "devices-imx27.h" | 38 | #include "devices-imx27.h" |
41 | #include "eukrea-baseboards.h" | 39 | #include "eukrea-baseboards.h" |
40 | #include "hardware.h" | ||
42 | #include "iomux-mx27.h" | 41 | #include "iomux-mx27.h" |
43 | #include "ulpi.h" | 42 | #include "ulpi.h" |
44 | 43 | ||
diff --git a/arch/arm/mach-imx/mach-cpuimx35.c b/arch/arm/mach-imx/mach-cpuimx35.c index 86d4ac90ea67..5a31bf8c8f4c 100644 --- a/arch/arm/mach-imx/mach-cpuimx35.c +++ b/arch/arm/mach-imx/mach-cpuimx35.c | |||
@@ -37,11 +37,10 @@ | |||
37 | #include <asm/mach/time.h> | 37 | #include <asm/mach/time.h> |
38 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
39 | 39 | ||
40 | #include <mach/hardware.h> | ||
41 | |||
42 | #include "common.h" | 40 | #include "common.h" |
43 | #include "devices-imx35.h" | 41 | #include "devices-imx35.h" |
44 | #include "eukrea-baseboards.h" | 42 | #include "eukrea-baseboards.h" |
43 | #include "hardware.h" | ||
45 | #include "iomux-mx35.h" | 44 | #include "iomux-mx35.h" |
46 | 45 | ||
47 | static const struct imxuart_platform_data uart_pdata __initconst = { | 46 | static const struct imxuart_platform_data uart_pdata __initconst = { |
diff --git a/arch/arm/mach-imx/mach-cpuimx51sd.c b/arch/arm/mach-imx/mach-cpuimx51sd.c index 58ad093d059b..b727de029c8f 100644 --- a/arch/arm/mach-imx/mach-cpuimx51sd.c +++ b/arch/arm/mach-imx/mach-cpuimx51sd.c | |||
@@ -26,8 +26,6 @@ | |||
26 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
27 | #include <linux/can/platform/mcp251x.h> | 27 | #include <linux/can/platform/mcp251x.h> |
28 | 28 | ||
29 | #include <mach/hardware.h> | ||
30 | |||
31 | #include <asm/setup.h> | 29 | #include <asm/setup.h> |
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
33 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
@@ -37,6 +35,7 @@ | |||
37 | #include "devices-imx51.h" | 35 | #include "devices-imx51.h" |
38 | #include "cpu_op-mx51.h" | 36 | #include "cpu_op-mx51.h" |
39 | #include "eukrea-baseboards.h" | 37 | #include "eukrea-baseboards.h" |
38 | #include "hardware.h" | ||
40 | #include "iomux-mx51.h" | 39 | #include "iomux-mx51.h" |
41 | 40 | ||
42 | #define USBH1_RST IMX_GPIO_NR(2, 28) | 41 | #define USBH1_RST IMX_GPIO_NR(2, 28) |
diff --git a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c index e754b0cbfd83..75027a5ad8b7 100644 --- a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c +++ b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c | |||
@@ -27,18 +27,18 @@ | |||
27 | #include <linux/usb/otg.h> | 27 | #include <linux/usb/otg.h> |
28 | #include <linux/usb/ulpi.h> | 28 | #include <linux/usb/ulpi.h> |
29 | 29 | ||
30 | #include <mach/hardware.h> | ||
31 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/time.h> | 32 | #include <asm/mach/time.h> |
34 | #include <asm/memory.h> | 33 | #include <asm/memory.h> |
35 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
36 | #include <mach/mx25.h> | ||
37 | 35 | ||
38 | #include "common.h" | 36 | #include "common.h" |
39 | #include "devices-imx25.h" | 37 | #include "devices-imx25.h" |
40 | #include "eukrea-baseboards.h" | 38 | #include "eukrea-baseboards.h" |
39 | #include "hardware.h" | ||
41 | #include "iomux-mx25.h" | 40 | #include "iomux-mx25.h" |
41 | #include "mx25.h" | ||
42 | 42 | ||
43 | static const struct imxuart_platform_data uart_pdata __initconst = { | 43 | static const struct imxuart_platform_data uart_pdata __initconst = { |
44 | .flags = IMXUART_HAVE_RTSCTS, | 44 | .flags = IMXUART_HAVE_RTSCTS, |
diff --git a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c index ec33607ebb6e..b74422679126 100644 --- a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c +++ b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c | |||
@@ -40,10 +40,10 @@ | |||
40 | #include <asm/mach/time.h> | 40 | #include <asm/mach/time.h> |
41 | #include <asm/system_info.h> | 41 | #include <asm/system_info.h> |
42 | #include <asm/memblock.h> | 42 | #include <asm/memblock.h> |
43 | #include <mach/hardware.h> | ||
44 | 43 | ||
45 | #include "common.h" | 44 | #include "common.h" |
46 | #include "devices-imx27.h" | 45 | #include "devices-imx27.h" |
46 | #include "hardware.h" | ||
47 | #include "iomux-mx27.h" | 47 | #include "iomux-mx27.h" |
48 | 48 | ||
49 | #define TVP5150_RSTN (GPIO_PORTC + 18) | 49 | #define TVP5150_RSTN (GPIO_PORTC + 18) |
diff --git a/arch/arm/mach-imx/mach-imx27ipcam.c b/arch/arm/mach-imx/mach-imx27ipcam.c index 725a87fdf138..53a860112938 100644 --- a/arch/arm/mach-imx/mach-imx27ipcam.c +++ b/arch/arm/mach-imx/mach-imx27ipcam.c | |||
@@ -17,8 +17,8 @@ | |||
17 | #include <asm/mach-types.h> | 17 | #include <asm/mach-types.h> |
18 | #include <asm/mach/arch.h> | 18 | #include <asm/mach/arch.h> |
19 | #include <asm/mach/time.h> | 19 | #include <asm/mach/time.h> |
20 | #include <mach/hardware.h> | ||
21 | 20 | ||
21 | #include "hardware.h" | ||
22 | #include "common.h" | 22 | #include "common.h" |
23 | #include "devices-imx27.h" | 23 | #include "devices-imx27.h" |
24 | #include "iomux-mx27.h" | 24 | #include "iomux-mx27.h" |
diff --git a/arch/arm/mach-imx/mach-imx27lite.c b/arch/arm/mach-imx/mach-imx27lite.c index ec4603011035..fc8dce931378 100644 --- a/arch/arm/mach-imx/mach-imx27lite.c +++ b/arch/arm/mach-imx/mach-imx27lite.c | |||
@@ -20,10 +20,10 @@ | |||
20 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
21 | #include <asm/mach/time.h> | 21 | #include <asm/mach/time.h> |
22 | #include <asm/mach/map.h> | 22 | #include <asm/mach/map.h> |
23 | #include <mach/hardware.h> | ||
24 | 23 | ||
25 | #include "common.h" | 24 | #include "common.h" |
26 | #include "devices-imx27.h" | 25 | #include "devices-imx27.h" |
26 | #include "hardware.h" | ||
27 | #include "iomux-mx27.h" | 27 | #include "iomux-mx27.h" |
28 | 28 | ||
29 | static const int mx27lite_pins[] __initconst = { | 29 | static const int mx27lite_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c index 0e0aadfb625e..e71e62610eba 100644 --- a/arch/arm/mach-imx/mach-imx53.c +++ b/arch/arm/mach-imx/mach-imx53.c | |||
@@ -19,9 +19,9 @@ | |||
19 | #include <linux/of_platform.h> | 19 | #include <linux/of_platform.h> |
20 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
21 | #include <asm/mach/time.h> | 21 | #include <asm/mach/time.h> |
22 | #include <mach/mx53.h> | ||
23 | 22 | ||
24 | #include "common.h" | 23 | #include "common.h" |
24 | #include "mx53.h" | ||
25 | 25 | ||
26 | /* | 26 | /* |
27 | * Lookup table for attaching a specific name and platform_data pointer to | 27 | * Lookup table for attaching a specific name and platform_data pointer to |
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index c0245abdd955..978b6dd00de4 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -33,10 +33,10 @@ | |||
33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
34 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
35 | #include <asm/system_misc.h> | 35 | #include <asm/system_misc.h> |
36 | #include <mach/hardware.h> | ||
37 | 36 | ||
38 | #include "common.h" | 37 | #include "common.h" |
39 | #include "cpuidle.h" | 38 | #include "cpuidle.h" |
39 | #include "hardware.h" | ||
40 | 40 | ||
41 | void imx6q_restart(char mode, const char *cmd) | 41 | void imx6q_restart(char mode, const char *cmd) |
42 | { | 42 | { |
diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c b/arch/arm/mach-imx/mach-kzm_arm11_01.c index 7b973dcba93e..2e536ea53444 100644 --- a/arch/arm/mach-imx/mach-kzm_arm11_01.c +++ b/arch/arm/mach-imx/mach-kzm_arm11_01.c | |||
@@ -36,10 +36,9 @@ | |||
36 | #include <asm/mach/map.h> | 36 | #include <asm/mach/map.h> |
37 | #include <asm/mach/time.h> | 37 | #include <asm/mach/time.h> |
38 | 38 | ||
39 | #include <mach/hardware.h> | ||
40 | |||
41 | #include "common.h" | 39 | #include "common.h" |
42 | #include "devices-imx31.h" | 40 | #include "devices-imx31.h" |
41 | #include "hardware.h" | ||
43 | #include "iomux-mx3.h" | 42 | #include "iomux-mx3.h" |
44 | 43 | ||
45 | #define KZM_ARM11_IO_ADDRESS(x) (IOMEM( \ | 44 | #define KZM_ARM11_IO_ADDRESS(x) (IOMEM( \ |
diff --git a/arch/arm/mach-imx/mach-mx1ads.c b/arch/arm/mach-imx/mach-mx1ads.c index 8be62f3559b6..06b483783e68 100644 --- a/arch/arm/mach-imx/mach-mx1ads.c +++ b/arch/arm/mach-imx/mach-mx1ads.c | |||
@@ -23,10 +23,9 @@ | |||
23 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
24 | #include <asm/mach/time.h> | 24 | #include <asm/mach/time.h> |
25 | 25 | ||
26 | #include <mach/hardware.h> | ||
27 | |||
28 | #include "common.h" | 26 | #include "common.h" |
29 | #include "devices-imx1.h" | 27 | #include "devices-imx1.h" |
28 | #include "hardware.h" | ||
30 | #include "iomux-mx1.h" | 29 | #include "iomux-mx1.h" |
31 | 30 | ||
32 | static const int mx1ads_pins[] __initconst = { | 31 | static const int mx1ads_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/mach-mx21ads.c b/arch/arm/mach-imx/mach-mx21ads.c index 99adc9f893d8..6adb3136bb08 100644 --- a/arch/arm/mach-imx/mach-mx21ads.c +++ b/arch/arm/mach-imx/mach-mx21ads.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/mtd/mtd.h> | 18 | #include <linux/mtd/mtd.h> |
19 | #include <linux/mtd/physmap.h> | 19 | #include <linux/mtd/physmap.h> |
20 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
21 | #include <mach/hardware.h> | ||
22 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
23 | #include <asm/mach/arch.h> | 22 | #include <asm/mach/arch.h> |
24 | #include <asm/mach/time.h> | 23 | #include <asm/mach/time.h> |
@@ -26,6 +25,7 @@ | |||
26 | 25 | ||
27 | #include "common.h" | 26 | #include "common.h" |
28 | #include "devices-imx21.h" | 27 | #include "devices-imx21.h" |
28 | #include "hardware.h" | ||
29 | #include "iomux-mx21.h" | 29 | #include "iomux-mx21.h" |
30 | 30 | ||
31 | /* | 31 | /* |
diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index 5a17dd66c05c..b1b03aa55bb8 100644 --- a/arch/arm/mach-imx/mach-mx25_3ds.c +++ b/arch/arm/mach-imx/mach-mx25_3ds.c | |||
@@ -31,17 +31,17 @@ | |||
31 | #include <linux/platform_device.h> | 31 | #include <linux/platform_device.h> |
32 | #include <linux/usb/otg.h> | 32 | #include <linux/usb/otg.h> |
33 | 33 | ||
34 | #include <mach/hardware.h> | ||
35 | #include <asm/mach-types.h> | 34 | #include <asm/mach-types.h> |
36 | #include <asm/mach/arch.h> | 35 | #include <asm/mach/arch.h> |
37 | #include <asm/mach/time.h> | 36 | #include <asm/mach/time.h> |
38 | #include <asm/memory.h> | 37 | #include <asm/memory.h> |
39 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
40 | #include <mach/mx25.h> | ||
41 | 39 | ||
42 | #include "common.h" | 40 | #include "common.h" |
43 | #include "devices-imx25.h" | 41 | #include "devices-imx25.h" |
42 | #include "hardware.h" | ||
44 | #include "iomux-mx25.h" | 43 | #include "iomux-mx25.h" |
44 | #include "mx25.h" | ||
45 | 45 | ||
46 | #define MX25PDK_CAN_PWDN IMX_GPIO_NR(4, 6) | 46 | #define MX25PDK_CAN_PWDN IMX_GPIO_NR(4, 6) |
47 | 47 | ||
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index a54df771c23c..d0e547fa925f 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c | |||
@@ -36,11 +36,11 @@ | |||
36 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
37 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
38 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
39 | #include <mach/hardware.h> | ||
40 | 39 | ||
41 | #include "3ds_debugboard.h" | 40 | #include "3ds_debugboard.h" |
42 | #include "common.h" | 41 | #include "common.h" |
43 | #include "devices-imx27.h" | 42 | #include "devices-imx27.h" |
43 | #include "hardware.h" | ||
44 | #include "iomux-mx27.h" | 44 | #include "iomux-mx27.h" |
45 | #include "ulpi.h" | 45 | #include "ulpi.h" |
46 | 46 | ||
diff --git a/arch/arm/mach-imx/mach-mx27ads.c b/arch/arm/mach-imx/mach-mx27ads.c index beb281c250f6..3d036f57f0e6 100644 --- a/arch/arm/mach-imx/mach-mx27ads.c +++ b/arch/arm/mach-imx/mach-mx27ads.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/mtd/physmap.h> | 21 | #include <linux/mtd/physmap.h> |
22 | #include <linux/i2c.h> | 22 | #include <linux/i2c.h> |
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <mach/hardware.h> | ||
25 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
26 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
27 | #include <asm/mach/time.h> | 26 | #include <asm/mach/time.h> |
@@ -29,6 +28,7 @@ | |||
29 | 28 | ||
30 | #include "common.h" | 29 | #include "common.h" |
31 | #include "devices-imx27.h" | 30 | #include "devices-imx27.h" |
31 | #include "hardware.h" | ||
32 | #include "iomux-mx27.h" | 32 | #include "iomux-mx27.h" |
33 | 33 | ||
34 | /* | 34 | /* |
diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c index 0333567ca5a1..bc301befdd06 100644 --- a/arch/arm/mach-imx/mach-mx31_3ds.c +++ b/arch/arm/mach-imx/mach-mx31_3ds.c | |||
@@ -30,7 +30,6 @@ | |||
30 | 30 | ||
31 | #include <media/soc_camera.h> | 31 | #include <media/soc_camera.h> |
32 | 32 | ||
33 | #include <mach/hardware.h> | ||
34 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
35 | #include <asm/mach/arch.h> | 34 | #include <asm/mach/arch.h> |
36 | #include <asm/mach/time.h> | 35 | #include <asm/mach/time.h> |
@@ -41,6 +40,7 @@ | |||
41 | #include "3ds_debugboard.h" | 40 | #include "3ds_debugboard.h" |
42 | #include "common.h" | 41 | #include "common.h" |
43 | #include "devices-imx31.h" | 42 | #include "devices-imx31.h" |
43 | #include "hardware.h" | ||
44 | #include "iomux-mx3.h" | 44 | #include "iomux-mx3.h" |
45 | #include "ulpi.h" | 45 | #include "ulpi.h" |
46 | 46 | ||
diff --git a/arch/arm/mach-imx/mach-mx31ads.c b/arch/arm/mach-imx/mach-mx31ads.c index deb89d2cc1bb..8b56f8883f32 100644 --- a/arch/arm/mach-imx/mach-mx31ads.c +++ b/arch/arm/mach-imx/mach-mx31ads.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <asm/mach/time.h> | 28 | #include <asm/mach/time.h> |
29 | #include <asm/memory.h> | 29 | #include <asm/memory.h> |
30 | #include <asm/mach/map.h> | 30 | #include <asm/mach/map.h> |
31 | #include <mach/hardware.h> | ||
32 | 31 | ||
33 | #ifdef CONFIG_MACH_MX31ADS_WM1133_EV1 | 32 | #ifdef CONFIG_MACH_MX31ADS_WM1133_EV1 |
34 | #include <linux/mfd/wm8350/audio.h> | 33 | #include <linux/mfd/wm8350/audio.h> |
@@ -38,6 +37,7 @@ | |||
38 | 37 | ||
39 | #include "common.h" | 38 | #include "common.h" |
40 | #include "devices-imx31.h" | 39 | #include "devices-imx31.h" |
40 | #include "hardware.h" | ||
41 | #include "iomux-mx3.h" | 41 | #include "iomux-mx3.h" |
42 | 42 | ||
43 | /* Base address of PBC controller */ | 43 | /* Base address of PBC controller */ |
diff --git a/arch/arm/mach-imx/mach-mx31lilly.c b/arch/arm/mach-imx/mach-mx31lilly.c index 74b5fa9bc667..08b9965c8b36 100644 --- a/arch/arm/mach-imx/mach-mx31lilly.c +++ b/arch/arm/mach-imx/mach-mx31lilly.c | |||
@@ -42,11 +42,10 @@ | |||
42 | #include <asm/mach/time.h> | 42 | #include <asm/mach/time.h> |
43 | #include <asm/mach/map.h> | 43 | #include <asm/mach/map.h> |
44 | 44 | ||
45 | #include <mach/hardware.h> | ||
46 | |||
47 | #include "board-mx31lilly.h" | 45 | #include "board-mx31lilly.h" |
48 | #include "common.h" | 46 | #include "common.h" |
49 | #include "devices-imx31.h" | 47 | #include "devices-imx31.h" |
48 | #include "hardware.h" | ||
50 | #include "iomux-mx3.h" | 49 | #include "iomux-mx3.h" |
51 | #include "ulpi.h" | 50 | #include "ulpi.h" |
52 | 51 | ||
diff --git a/arch/arm/mach-imx/mach-mx31lite.c b/arch/arm/mach-imx/mach-mx31lite.c index 6d6b69854033..bdcd92e59518 100644 --- a/arch/arm/mach-imx/mach-mx31lite.c +++ b/arch/arm/mach-imx/mach-mx31lite.c | |||
@@ -39,11 +39,10 @@ | |||
39 | #include <asm/page.h> | 39 | #include <asm/page.h> |
40 | #include <asm/setup.h> | 40 | #include <asm/setup.h> |
41 | 41 | ||
42 | #include <mach/hardware.h> | ||
43 | |||
44 | #include "board-mx31lite.h" | 42 | #include "board-mx31lite.h" |
45 | #include "common.h" | 43 | #include "common.h" |
46 | #include "devices-imx31.h" | 44 | #include "devices-imx31.h" |
45 | #include "hardware.h" | ||
47 | #include "iomux-mx3.h" | 46 | #include "iomux-mx3.h" |
48 | #include "ulpi.h" | 47 | #include "ulpi.h" |
49 | 48 | ||
diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 31c7d05cc33c..2517cfa9f26b 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c | |||
@@ -42,12 +42,12 @@ | |||
42 | #include <asm/mach/time.h> | 42 | #include <asm/mach/time.h> |
43 | #include <asm/mach/map.h> | 43 | #include <asm/mach/map.h> |
44 | #include <asm/memblock.h> | 44 | #include <asm/memblock.h> |
45 | #include <mach/hardware.h> | ||
46 | #include <linux/platform_data/asoc-imx-ssi.h> | 45 | #include <linux/platform_data/asoc-imx-ssi.h> |
47 | 46 | ||
48 | #include "board-mx31moboard.h" | 47 | #include "board-mx31moboard.h" |
49 | #include "common.h" | 48 | #include "common.h" |
50 | #include "devices-imx31.h" | 49 | #include "devices-imx31.h" |
50 | #include "hardware.h" | ||
51 | #include "iomux-mx3.h" | 51 | #include "iomux-mx3.h" |
52 | #include "ulpi.h" | 52 | #include "ulpi.h" |
53 | 53 | ||
diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c index ee7d0375c70d..5277da45d60c 100644 --- a/arch/arm/mach-imx/mach-mx35_3ds.c +++ b/arch/arm/mach-imx/mach-mx35_3ds.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <asm/mach/map.h> | 43 | #include <asm/mach/map.h> |
44 | #include <asm/memblock.h> | 44 | #include <asm/memblock.h> |
45 | 45 | ||
46 | #include <mach/hardware.h> | ||
47 | #include <video/platform_lcd.h> | 46 | #include <video/platform_lcd.h> |
48 | 47 | ||
49 | #include <media/soc_camera.h> | 48 | #include <media/soc_camera.h> |
@@ -51,6 +50,7 @@ | |||
51 | #include "3ds_debugboard.h" | 50 | #include "3ds_debugboard.h" |
52 | #include "common.h" | 51 | #include "common.h" |
53 | #include "devices-imx35.h" | 52 | #include "devices-imx35.h" |
53 | #include "hardware.h" | ||
54 | #include "iomux-mx35.h" | 54 | #include "iomux-mx35.h" |
55 | 55 | ||
56 | #define GPIO_MC9S08DZ60_GPS_ENABLE 0 | 56 | #define GPIO_MC9S08DZ60_GPS_ENABLE 0 |
diff --git a/arch/arm/mach-imx/mach-mx50_rdp.c b/arch/arm/mach-imx/mach-mx50_rdp.c index 4a3e98e37797..0c1f88a80bdc 100644 --- a/arch/arm/mach-imx/mach-mx50_rdp.c +++ b/arch/arm/mach-imx/mach-mx50_rdp.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | 26 | ||
27 | #include <mach/hardware.h> | ||
28 | |||
29 | #include <asm/irq.h> | 27 | #include <asm/irq.h> |
30 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
31 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
@@ -34,6 +32,7 @@ | |||
34 | 32 | ||
35 | #include "common.h" | 33 | #include "common.h" |
36 | #include "devices-imx50.h" | 34 | #include "devices-imx50.h" |
35 | #include "hardware.h" | ||
37 | #include "iomux-mx50.h" | 36 | #include "iomux-mx50.h" |
38 | 37 | ||
39 | #define FEC_EN IMX_GPIO_NR(6, 23) | 38 | #define FEC_EN IMX_GPIO_NR(6, 23) |
diff --git a/arch/arm/mach-imx/mach-mx51_3ds.c b/arch/arm/mach-imx/mach-mx51_3ds.c index 476c759216bd..abc25bd1107b 100644 --- a/arch/arm/mach-imx/mach-mx51_3ds.c +++ b/arch/arm/mach-imx/mach-mx51_3ds.c | |||
@@ -19,11 +19,10 @@ | |||
19 | #include <asm/mach/arch.h> | 19 | #include <asm/mach/arch.h> |
20 | #include <asm/mach/time.h> | 20 | #include <asm/mach/time.h> |
21 | 21 | ||
22 | #include <mach/hardware.h> | ||
23 | |||
24 | #include "3ds_debugboard.h" | 22 | #include "3ds_debugboard.h" |
25 | #include "common.h" | 23 | #include "common.h" |
26 | #include "devices-imx51.h" | 24 | #include "devices-imx51.h" |
25 | #include "hardware.h" | ||
27 | #include "iomux-mx51.h" | 26 | #include "iomux-mx51.h" |
28 | 27 | ||
29 | #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) | 28 | #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) |
diff --git a/arch/arm/mach-imx/mach-mx51_babbage.c b/arch/arm/mach-imx/mach-mx51_babbage.c index 383948a17179..d9a84ca2199a 100644 --- a/arch/arm/mach-imx/mach-mx51_babbage.c +++ b/arch/arm/mach-imx/mach-mx51_babbage.c | |||
@@ -20,8 +20,6 @@ | |||
20 | #include <linux/spi/flash.h> | 20 | #include <linux/spi/flash.h> |
21 | #include <linux/spi/spi.h> | 21 | #include <linux/spi/spi.h> |
22 | 22 | ||
23 | #include <mach/hardware.h> | ||
24 | |||
25 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
26 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
27 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
@@ -30,6 +28,7 @@ | |||
30 | #include "common.h" | 28 | #include "common.h" |
31 | #include "devices-imx51.h" | 29 | #include "devices-imx51.h" |
32 | #include "cpu_op-mx51.h" | 30 | #include "cpu_op-mx51.h" |
31 | #include "hardware.h" | ||
33 | #include "iomux-mx51.h" | 32 | #include "iomux-mx51.h" |
34 | 33 | ||
35 | #define BABBAGE_USB_HUB_RESET IMX_GPIO_NR(1, 7) | 34 | #define BABBAGE_USB_HUB_RESET IMX_GPIO_NR(1, 7) |
diff --git a/arch/arm/mach-imx/mach-mxt_td60.c b/arch/arm/mach-imx/mach-mxt_td60.c index f1cbe03a4462..f4a8c7e108e1 100644 --- a/arch/arm/mach-imx/mach-mxt_td60.c +++ b/arch/arm/mach-imx/mach-mxt_td60.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/mtd/physmap.h> | 21 | #include <linux/mtd/physmap.h> |
22 | #include <linux/i2c.h> | 22 | #include <linux/i2c.h> |
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <mach/hardware.h> | ||
25 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
26 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
27 | #include <asm/mach/time.h> | 26 | #include <asm/mach/time.h> |
@@ -31,6 +30,7 @@ | |||
31 | 30 | ||
32 | #include "common.h" | 31 | #include "common.h" |
33 | #include "devices-imx27.h" | 32 | #include "devices-imx27.h" |
33 | #include "hardware.h" | ||
34 | #include "iomux-mx27.h" | 34 | #include "iomux-mx27.h" |
35 | 35 | ||
36 | static const int mxt_td60_pins[] __initconst = { | 36 | static const int mxt_td60_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/mach-pca100.c b/arch/arm/mach-imx/mach-pca100.c index 743d7e94f53b..eee369fa94a2 100644 --- a/arch/arm/mach-imx/mach-pca100.c +++ b/arch/arm/mach-imx/mach-pca100.c | |||
@@ -32,11 +32,11 @@ | |||
32 | 32 | ||
33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
34 | #include <asm/mach-types.h> | 34 | #include <asm/mach-types.h> |
35 | #include <mach/hardware.h> | ||
36 | #include <asm/mach/time.h> | 35 | #include <asm/mach/time.h> |
37 | 36 | ||
38 | #include "common.h" | 37 | #include "common.h" |
39 | #include "devices-imx27.h" | 38 | #include "devices-imx27.h" |
39 | #include "hardware.h" | ||
40 | #include "iomux-mx27.h" | 40 | #include "iomux-mx27.h" |
41 | #include "ulpi.h" | 41 | #include "ulpi.h" |
42 | 42 | ||
diff --git a/arch/arm/mach-imx/mach-pcm037.c b/arch/arm/mach-imx/mach-pcm037.c index 525f057a11a5..547fef133f65 100644 --- a/arch/arm/mach-imx/mach-pcm037.c +++ b/arch/arm/mach-imx/mach-pcm037.c | |||
@@ -42,10 +42,10 @@ | |||
42 | #include <asm/mach/time.h> | 42 | #include <asm/mach/time.h> |
43 | #include <asm/mach/map.h> | 43 | #include <asm/mach/map.h> |
44 | #include <asm/memblock.h> | 44 | #include <asm/memblock.h> |
45 | #include <mach/hardware.h> | ||
46 | 45 | ||
47 | #include "common.h" | 46 | #include "common.h" |
48 | #include "devices-imx31.h" | 47 | #include "devices-imx31.h" |
48 | #include "hardware.h" | ||
49 | #include "iomux-mx3.h" | 49 | #include "iomux-mx3.h" |
50 | #include "pcm037.h" | 50 | #include "pcm037.h" |
51 | #include "ulpi.h" | 51 | #include "ulpi.h" |
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index 8bf95f5741c4..4aa0d0798605 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c | |||
@@ -33,11 +33,10 @@ | |||
33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
34 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
35 | 35 | ||
36 | #include <mach/hardware.h> | ||
37 | |||
38 | #include "board-pcm038.h" | 36 | #include "board-pcm038.h" |
39 | #include "common.h" | 37 | #include "common.h" |
40 | #include "devices-imx27.h" | 38 | #include "devices-imx27.h" |
39 | #include "hardware.h" | ||
41 | #include "iomux-mx27.h" | 40 | #include "iomux-mx27.h" |
42 | #include "ulpi.h" | 41 | #include "ulpi.h" |
43 | 42 | ||
diff --git a/arch/arm/mach-imx/mach-pcm043.c b/arch/arm/mach-imx/mach-pcm043.c index 54ac94770b7d..92445440221e 100644 --- a/arch/arm/mach-imx/mach-pcm043.c +++ b/arch/arm/mach-imx/mach-pcm043.c | |||
@@ -33,10 +33,9 @@ | |||
33 | #include <asm/mach/time.h> | 33 | #include <asm/mach/time.h> |
34 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
35 | 35 | ||
36 | #include <mach/hardware.h> | ||
37 | |||
38 | #include "common.h" | 36 | #include "common.h" |
39 | #include "devices-imx35.h" | 37 | #include "devices-imx35.h" |
38 | #include "hardware.h" | ||
40 | #include "iomux-mx35.h" | 39 | #include "iomux-mx35.h" |
41 | #include "ulpi.h" | 40 | #include "ulpi.h" |
42 | 41 | ||
diff --git a/arch/arm/mach-imx/mach-qong.c b/arch/arm/mach-imx/mach-qong.c index 962988a8cfaa..96d9a91f8a3b 100644 --- a/arch/arm/mach-imx/mach-qong.c +++ b/arch/arm/mach-imx/mach-qong.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/mtd/nand.h> | 21 | #include <linux/mtd/nand.h> |
22 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
23 | 23 | ||
24 | #include <mach/hardware.h> | ||
25 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
26 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
27 | #include <asm/mach/time.h> | 26 | #include <asm/mach/time.h> |
@@ -31,6 +30,7 @@ | |||
31 | 30 | ||
32 | #include "common.h" | 31 | #include "common.h" |
33 | #include "devices-imx31.h" | 32 | #include "devices-imx31.h" |
33 | #include "hardware.h" | ||
34 | #include "iomux-mx3.h" | 34 | #include "iomux-mx3.h" |
35 | 35 | ||
36 | /* FPGA defines */ | 36 | /* FPGA defines */ |
diff --git a/arch/arm/mach-imx/mach-scb9328.c b/arch/arm/mach-imx/mach-scb9328.c index c4917565871e..fc970409dbaf 100644 --- a/arch/arm/mach-imx/mach-scb9328.c +++ b/arch/arm/mach-imx/mach-scb9328.c | |||
@@ -20,10 +20,9 @@ | |||
20 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
21 | #include <asm/mach/time.h> | 21 | #include <asm/mach/time.h> |
22 | 22 | ||
23 | #include <mach/hardware.h> | ||
24 | |||
25 | #include "common.h" | 23 | #include "common.h" |
26 | #include "devices-imx1.h" | 24 | #include "devices-imx1.h" |
25 | #include "hardware.h" | ||
27 | #include "iomux-mx1.h" | 26 | #include "iomux-mx1.h" |
28 | 27 | ||
29 | /* | 28 | /* |
diff --git a/arch/arm/mach-imx/mach-vpr200.c b/arch/arm/mach-imx/mach-vpr200.c index 288a920ad648..3aecf91e4289 100644 --- a/arch/arm/mach-imx/mach-vpr200.c +++ b/arch/arm/mach-imx/mach-vpr200.c | |||
@@ -28,14 +28,13 @@ | |||
28 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
29 | #include <asm/mach/time.h> | 29 | #include <asm/mach/time.h> |
30 | 30 | ||
31 | #include <mach/hardware.h> | ||
32 | |||
33 | #include <linux/i2c.h> | 31 | #include <linux/i2c.h> |
34 | #include <linux/i2c/at24.h> | 32 | #include <linux/i2c/at24.h> |
35 | #include <linux/mfd/mc13xxx.h> | 33 | #include <linux/mfd/mc13xxx.h> |
36 | 34 | ||
37 | #include "common.h" | 35 | #include "common.h" |
38 | #include "devices-imx35.h" | 36 | #include "devices-imx35.h" |
37 | #include "hardware.h" | ||
39 | #include "iomux-mx35.h" | 38 | #include "iomux-mx35.h" |
40 | 39 | ||
41 | #define GPIO_LCDPWR IMX_GPIO_NR(1, 2) | 40 | #define GPIO_LCDPWR IMX_GPIO_NR(1, 2) |
diff --git a/arch/arm/mach-imx/mm-imx1.c b/arch/arm/mach-imx/mm-imx1.c index 79f6c0b8f69f..7a146671e65a 100644 --- a/arch/arm/mach-imx/mm-imx1.c +++ b/arch/arm/mach-imx/mm-imx1.c | |||
@@ -22,10 +22,9 @@ | |||
22 | 22 | ||
23 | #include <asm/mach/map.h> | 23 | #include <asm/mach/map.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | |||
27 | #include "common.h" | 25 | #include "common.h" |
28 | #include "devices/devices-common.h" | 26 | #include "devices/devices-common.h" |
27 | #include "hardware.h" | ||
29 | #include "iomux-v1.h" | 28 | #include "iomux-v1.h" |
30 | 29 | ||
31 | static struct map_desc imx_io_desc[] __initdata = { | 30 | static struct map_desc imx_io_desc[] __initdata = { |
diff --git a/arch/arm/mach-imx/mm-imx21.c b/arch/arm/mach-imx/mm-imx21.c index 3b97ea63b5fb..8868398737c1 100644 --- a/arch/arm/mach-imx/mm-imx21.c +++ b/arch/arm/mach-imx/mm-imx21.c | |||
@@ -21,12 +21,12 @@ | |||
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/pinctrl/machine.h> | 23 | #include <linux/pinctrl/machine.h> |
24 | #include <mach/hardware.h> | ||
25 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
26 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
27 | 26 | ||
28 | #include "common.h" | 27 | #include "common.h" |
29 | #include "devices/devices-common.h" | 28 | #include "devices/devices-common.h" |
29 | #include "hardware.h" | ||
30 | #include "iomux-v1.h" | 30 | #include "iomux-v1.h" |
31 | 31 | ||
32 | /* MX21 memory map definition */ | 32 | /* MX21 memory map definition */ |
diff --git a/arch/arm/mach-imx/mm-imx25.c b/arch/arm/mach-imx/mm-imx25.c index a08a960de238..9be33cda2e2d 100644 --- a/arch/arm/mach-imx/mm-imx25.c +++ b/arch/arm/mach-imx/mm-imx25.c | |||
@@ -24,12 +24,11 @@ | |||
24 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
25 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
26 | 26 | ||
27 | #include <mach/hardware.h> | ||
28 | #include <mach/mx25.h> | ||
29 | |||
30 | #include "common.h" | 27 | #include "common.h" |
31 | #include "devices/devices-common.h" | 28 | #include "devices/devices-common.h" |
29 | #include "hardware.h" | ||
32 | #include "iomux-v3.h" | 30 | #include "iomux-v3.h" |
31 | #include "mx25.h" | ||
33 | 32 | ||
34 | /* | 33 | /* |
35 | * This table defines static virtual address mappings for I/O regions. | 34 | * This table defines static virtual address mappings for I/O regions. |
diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c index 91e8da832810..ecaa5b96d6fc 100644 --- a/arch/arm/mach-imx/mm-imx27.c +++ b/arch/arm/mach-imx/mm-imx27.c | |||
@@ -21,12 +21,12 @@ | |||
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/pinctrl/machine.h> | 23 | #include <linux/pinctrl/machine.h> |
24 | #include <mach/hardware.h> | ||
25 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
26 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
27 | 26 | ||
28 | #include "common.h" | 27 | #include "common.h" |
29 | #include "devices/devices-common.h" | 28 | #include "devices/devices-common.h" |
29 | #include "hardware.h" | ||
30 | #include "iomux-v1.h" | 30 | #include "iomux-v1.h" |
31 | 31 | ||
32 | /* MX27 memory map definition */ | 32 | /* MX27 memory map definition */ |
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c index 3e2ed2ab1eaf..072b3bf4927b 100644 --- a/arch/arm/mach-imx/mm-imx3.c +++ b/arch/arm/mach-imx/mm-imx3.c | |||
@@ -26,11 +26,10 @@ | |||
26 | #include <asm/hardware/cache-l2x0.h> | 26 | #include <asm/hardware/cache-l2x0.h> |
27 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
28 | 28 | ||
29 | #include <mach/hardware.h> | ||
30 | |||
31 | #include "common.h" | 29 | #include "common.h" |
32 | #include "crmregs-imx3.h" | 30 | #include "crmregs-imx3.h" |
33 | #include "devices/devices-common.h" | 31 | #include "devices/devices-common.h" |
32 | #include "hardware.h" | ||
34 | #include "iomux-v3.h" | 33 | #include "iomux-v3.h" |
35 | 34 | ||
36 | void __iomem *mx3_ccm_base; | 35 | void __iomem *mx3_ccm_base; |
diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c index d9ef24b2260b..e7395535f6b0 100644 --- a/arch/arm/mach-imx/mm-imx5.c +++ b/arch/arm/mach-imx/mm-imx5.c | |||
@@ -18,10 +18,9 @@ | |||
18 | 18 | ||
19 | #include <asm/mach/map.h> | 19 | #include <asm/mach/map.h> |
20 | 20 | ||
21 | #include <mach/hardware.h> | ||
22 | |||
23 | #include "common.h" | 21 | #include "common.h" |
24 | #include "devices/devices-common.h" | 22 | #include "devices/devices-common.h" |
23 | #include "hardware.h" | ||
25 | #include "iomux-v3.h" | 24 | #include "iomux-v3.h" |
26 | 25 | ||
27 | /* | 26 | /* |
diff --git a/arch/arm/mach-imx/include/mach/mx1.h b/arch/arm/mach-imx/mx1.h index 45bd31cc34d6..45bd31cc34d6 100644 --- a/arch/arm/mach-imx/include/mach/mx1.h +++ b/arch/arm/mach-imx/mx1.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx21.h b/arch/arm/mach-imx/mx21.h index 468738aa997f..468738aa997f 100644 --- a/arch/arm/mach-imx/include/mach/mx21.h +++ b/arch/arm/mach-imx/mx21.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx25.h b/arch/arm/mach-imx/mx25.h index ec466400a200..ec466400a200 100644 --- a/arch/arm/mach-imx/include/mach/mx25.h +++ b/arch/arm/mach-imx/mx25.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx27.h b/arch/arm/mach-imx/mx27.h index e074616d54ca..e074616d54ca 100644 --- a/arch/arm/mach-imx/include/mach/mx27.h +++ b/arch/arm/mach-imx/mx27.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx2x.h b/arch/arm/mach-imx/mx2x.h index 11642f5b224c..11642f5b224c 100644 --- a/arch/arm/mach-imx/include/mach/mx2x.h +++ b/arch/arm/mach-imx/mx2x.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx31.h b/arch/arm/mach-imx/mx31.h index ee9b1f9215df..ee9b1f9215df 100644 --- a/arch/arm/mach-imx/include/mach/mx31.h +++ b/arch/arm/mach-imx/mx31.h | |||
diff --git a/arch/arm/mach-imx/mx31lilly-db.c b/arch/arm/mach-imx/mx31lilly-db.c index 8cdcf0f2522d..d4361b80c5fb 100644 --- a/arch/arm/mach-imx/mx31lilly-db.c +++ b/arch/arm/mach-imx/mx31lilly-db.c | |||
@@ -30,11 +30,10 @@ | |||
30 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
31 | #include <asm/mach/map.h> | 31 | #include <asm/mach/map.h> |
32 | 32 | ||
33 | #include <mach/hardware.h> | ||
34 | |||
35 | #include "board-mx31lilly.h" | 33 | #include "board-mx31lilly.h" |
36 | #include "common.h" | 34 | #include "common.h" |
37 | #include "devices-imx31.h" | 35 | #include "devices-imx31.h" |
36 | #include "hardware.h" | ||
38 | #include "iomux-mx3.h" | 37 | #include "iomux-mx3.h" |
39 | 38 | ||
40 | /* | 39 | /* |
diff --git a/arch/arm/mach-imx/mx31lite-db.c b/arch/arm/mach-imx/mx31lite-db.c index c9eb91c344b1..5a160b7e4fce 100644 --- a/arch/arm/mach-imx/mx31lite-db.c +++ b/arch/arm/mach-imx/mx31lite-db.c | |||
@@ -31,11 +31,10 @@ | |||
31 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
32 | #include <asm/mach/map.h> | 32 | #include <asm/mach/map.h> |
33 | 33 | ||
34 | #include <mach/hardware.h> | ||
35 | |||
36 | #include "board-mx31lite.h" | 34 | #include "board-mx31lite.h" |
37 | #include "common.h" | 35 | #include "common.h" |
38 | #include "devices-imx31.h" | 36 | #include "devices-imx31.h" |
37 | #include "hardware.h" | ||
39 | #include "iomux-mx3.h" | 38 | #include "iomux-mx3.h" |
40 | 39 | ||
41 | /* | 40 | /* |
diff --git a/arch/arm/mach-imx/mx31moboard-devboard.c b/arch/arm/mach-imx/mx31moboard-devboard.c index 6489afc85de8..52d5b1574721 100644 --- a/arch/arm/mach-imx/mx31moboard-devboard.c +++ b/arch/arm/mach-imx/mx31moboard-devboard.c | |||
@@ -22,10 +22,9 @@ | |||
22 | 22 | ||
23 | #include <linux/usb/otg.h> | 23 | #include <linux/usb/otg.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | |||
27 | #include "common.h" | 25 | #include "common.h" |
28 | #include "devices-imx31.h" | 26 | #include "devices-imx31.h" |
27 | #include "hardware.h" | ||
29 | #include "iomux-mx3.h" | 28 | #include "iomux-mx3.h" |
30 | #include "ulpi.h" | 29 | #include "ulpi.h" |
31 | 30 | ||
diff --git a/arch/arm/mach-imx/mx31moboard-marxbot.c b/arch/arm/mach-imx/mx31moboard-marxbot.c index ea973c46f8e1..a4f43e90f3c1 100644 --- a/arch/arm/mach-imx/mx31moboard-marxbot.c +++ b/arch/arm/mach-imx/mx31moboard-marxbot.c | |||
@@ -24,12 +24,11 @@ | |||
24 | 24 | ||
25 | #include <linux/usb/otg.h> | 25 | #include <linux/usb/otg.h> |
26 | 26 | ||
27 | #include <mach/hardware.h> | ||
28 | |||
29 | #include <media/soc_camera.h> | 27 | #include <media/soc_camera.h> |
30 | 28 | ||
31 | #include "common.h" | 29 | #include "common.h" |
32 | #include "devices-imx31.h" | 30 | #include "devices-imx31.h" |
31 | #include "hardware.h" | ||
33 | #include "iomux-mx3.h" | 32 | #include "iomux-mx3.h" |
34 | #include "ulpi.h" | 33 | #include "ulpi.h" |
35 | 34 | ||
diff --git a/arch/arm/mach-imx/mx31moboard-smartbot.c b/arch/arm/mach-imx/mx31moboard-smartbot.c index 807e88274e13..04ae45dbfaa7 100644 --- a/arch/arm/mach-imx/mx31moboard-smartbot.c +++ b/arch/arm/mach-imx/mx31moboard-smartbot.c | |||
@@ -23,13 +23,12 @@ | |||
23 | #include <linux/usb/otg.h> | 23 | #include <linux/usb/otg.h> |
24 | #include <linux/usb/ulpi.h> | 24 | #include <linux/usb/ulpi.h> |
25 | 25 | ||
26 | #include <mach/hardware.h> | ||
27 | |||
28 | #include <media/soc_camera.h> | 26 | #include <media/soc_camera.h> |
29 | 27 | ||
30 | #include "board-mx31moboard.h" | 28 | #include "board-mx31moboard.h" |
31 | #include "common.h" | 29 | #include "common.h" |
32 | #include "devices-imx31.h" | 30 | #include "devices-imx31.h" |
31 | #include "hardware.h" | ||
33 | #include "iomux-mx3.h" | 32 | #include "iomux-mx3.h" |
34 | #include "ulpi.h" | 33 | #include "ulpi.h" |
35 | 34 | ||
diff --git a/arch/arm/mach-imx/include/mach/mx35.h b/arch/arm/mach-imx/mx35.h index 2af5d3a699c7..2af5d3a699c7 100644 --- a/arch/arm/mach-imx/include/mach/mx35.h +++ b/arch/arm/mach-imx/mx35.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx3x.h b/arch/arm/mach-imx/mx3x.h index 96fb4fbc8ad7..96fb4fbc8ad7 100644 --- a/arch/arm/mach-imx/include/mach/mx3x.h +++ b/arch/arm/mach-imx/mx3x.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx50.h b/arch/arm/mach-imx/mx50.h index 09ac19c1570c..09ac19c1570c 100644 --- a/arch/arm/mach-imx/include/mach/mx50.h +++ b/arch/arm/mach-imx/mx50.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx51.h b/arch/arm/mach-imx/mx51.h index af844f76261a..af844f76261a 100644 --- a/arch/arm/mach-imx/include/mach/mx51.h +++ b/arch/arm/mach-imx/mx51.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx53.h b/arch/arm/mach-imx/mx53.h index f829d1c22501..f829d1c22501 100644 --- a/arch/arm/mach-imx/include/mach/mx53.h +++ b/arch/arm/mach-imx/mx53.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mx6q.h b/arch/arm/mach-imx/mx6q.h index f7e7dbac8f4b..f7e7dbac8f4b 100644 --- a/arch/arm/mach-imx/include/mach/mx6q.h +++ b/arch/arm/mach-imx/mx6q.h | |||
diff --git a/arch/arm/mach-imx/include/mach/mxc.h b/arch/arm/mach-imx/mxc.h index d78298366a91..d78298366a91 100644 --- a/arch/arm/mach-imx/include/mach/mxc.h +++ b/arch/arm/mach-imx/mxc.h | |||
diff --git a/arch/arm/mach-imx/pcm970-baseboard.c b/arch/arm/mach-imx/pcm970-baseboard.c index c491f59e7294..51c608234089 100644 --- a/arch/arm/mach-imx/pcm970-baseboard.c +++ b/arch/arm/mach-imx/pcm970-baseboard.c | |||
@@ -23,10 +23,9 @@ | |||
23 | 23 | ||
24 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
25 | 25 | ||
26 | #include <mach/hardware.h> | ||
27 | |||
28 | #include "common.h" | 26 | #include "common.h" |
29 | #include "devices-imx27.h" | 27 | #include "devices-imx27.h" |
28 | #include "hardware.h" | ||
30 | #include "iomux-mx27.h" | 29 | #include "iomux-mx27.h" |
31 | 30 | ||
32 | static const int pcm970_pins[] __initconst = { | 31 | static const int pcm970_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/platsmp.c b/arch/arm/mach-imx/platsmp.c index 6147be27af41..3777b805b76b 100644 --- a/arch/arm/mach-imx/platsmp.c +++ b/arch/arm/mach-imx/platsmp.c | |||
@@ -16,9 +16,9 @@ | |||
16 | #include <asm/smp_scu.h> | 16 | #include <asm/smp_scu.h> |
17 | #include <asm/hardware/gic.h> | 17 | #include <asm/hardware/gic.h> |
18 | #include <asm/mach/map.h> | 18 | #include <asm/mach/map.h> |
19 | #include <mach/hardware.h> | ||
20 | 19 | ||
21 | #include "common.h" | 20 | #include "common.h" |
21 | #include "hardware.h" | ||
22 | 22 | ||
23 | static void __iomem *scu_base; | 23 | static void __iomem *scu_base; |
24 | 24 | ||
diff --git a/arch/arm/mach-imx/pm-imx27.c b/arch/arm/mach-imx/pm-imx27.c index 6fcffa7db978..56d02d064fbf 100644 --- a/arch/arm/mach-imx/pm-imx27.c +++ b/arch/arm/mach-imx/pm-imx27.c | |||
@@ -10,7 +10,8 @@ | |||
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/suspend.h> | 11 | #include <linux/suspend.h> |
12 | #include <linux/io.h> | 12 | #include <linux/io.h> |
13 | #include <mach/hardware.h> | 13 | |
14 | #include "hardware.h" | ||
14 | 15 | ||
15 | static int mx27_suspend_enter(suspend_state_t state) | 16 | static int mx27_suspend_enter(suspend_state_t state) |
16 | { | 17 | { |
diff --git a/arch/arm/mach-imx/pm-imx3.c b/arch/arm/mach-imx/pm-imx3.c index e509be04c92a..6a07006ff0f4 100644 --- a/arch/arm/mach-imx/pm-imx3.c +++ b/arch/arm/mach-imx/pm-imx3.c | |||
@@ -9,11 +9,11 @@ | |||
9 | * http://www.gnu.org/copyleft/gpl.html | 9 | * http://www.gnu.org/copyleft/gpl.html |
10 | */ | 10 | */ |
11 | #include <linux/io.h> | 11 | #include <linux/io.h> |
12 | #include <mach/hardware.h> | ||
13 | 12 | ||
14 | #include "common.h" | 13 | #include "common.h" |
15 | #include "crmregs-imx3.h" | 14 | #include "crmregs-imx3.h" |
16 | #include "devices/devices-common.h" | 15 | #include "devices/devices-common.h" |
16 | #include "hardware.h" | ||
17 | 17 | ||
18 | /* | 18 | /* |
19 | * Set cpu low power mode before WFI instruction. This function is called | 19 | * Set cpu low power mode before WFI instruction. This function is called |
diff --git a/arch/arm/mach-imx/pm-imx5.c b/arch/arm/mach-imx/pm-imx5.c index a614702872f4..2e063c2deb9e 100644 --- a/arch/arm/mach-imx/pm-imx5.c +++ b/arch/arm/mach-imx/pm-imx5.c | |||
@@ -16,11 +16,11 @@ | |||
16 | #include <asm/cacheflush.h> | 16 | #include <asm/cacheflush.h> |
17 | #include <asm/system_misc.h> | 17 | #include <asm/system_misc.h> |
18 | #include <asm/tlbflush.h> | 18 | #include <asm/tlbflush.h> |
19 | #include <mach/hardware.h> | ||
20 | 19 | ||
21 | #include "common.h" | 20 | #include "common.h" |
22 | #include "cpuidle.h" | 21 | #include "cpuidle.h" |
23 | #include "crm-regs-imx5.h" | 22 | #include "crm-regs-imx5.h" |
23 | #include "hardware.h" | ||
24 | 24 | ||
25 | /* | 25 | /* |
26 | * The WAIT_UNCLOCKED_POWER_OFF state only requires <= 500ns to exit. | 26 | * The WAIT_UNCLOCKED_POWER_OFF state only requires <= 500ns to exit. |
diff --git a/arch/arm/mach-imx/pm-imx6q.c b/arch/arm/mach-imx/pm-imx6q.c index 05618afb5596..a17543da602d 100644 --- a/arch/arm/mach-imx/pm-imx6q.c +++ b/arch/arm/mach-imx/pm-imx6q.c | |||
@@ -18,9 +18,9 @@ | |||
18 | #include <asm/proc-fns.h> | 18 | #include <asm/proc-fns.h> |
19 | #include <asm/suspend.h> | 19 | #include <asm/suspend.h> |
20 | #include <asm/hardware/cache-l2x0.h> | 20 | #include <asm/hardware/cache-l2x0.h> |
21 | #include <mach/hardware.h> | ||
22 | 21 | ||
23 | #include "common.h" | 22 | #include "common.h" |
23 | #include "hardware.h" | ||
24 | 24 | ||
25 | extern unsigned long phys_l2x0_saved_regs; | 25 | extern unsigned long phys_l2x0_saved_regs; |
26 | 26 | ||
diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c index bbd80f25cdc4..695e0d73bf85 100644 --- a/arch/arm/mach-imx/system.c +++ b/arch/arm/mach-imx/system.c | |||
@@ -22,12 +22,12 @@ | |||
22 | #include <linux/err.h> | 22 | #include <linux/err.h> |
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | #include <asm/system_misc.h> | 25 | #include <asm/system_misc.h> |
27 | #include <asm/proc-fns.h> | 26 | #include <asm/proc-fns.h> |
28 | #include <asm/mach-types.h> | 27 | #include <asm/mach-types.h> |
29 | 28 | ||
30 | #include "common.h" | 29 | #include "common.h" |
30 | #include "hardware.h" | ||
31 | 31 | ||
32 | static void __iomem *wdog_base; | 32 | static void __iomem *wdog_base; |
33 | 33 | ||
diff --git a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c index 8ee6f3608a85..f017302f6d09 100644 --- a/arch/arm/mach-imx/time.c +++ b/arch/arm/mach-imx/time.c | |||
@@ -27,11 +27,11 @@ | |||
27 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
28 | #include <linux/err.h> | 28 | #include <linux/err.h> |
29 | 29 | ||
30 | #include <mach/hardware.h> | ||
31 | #include <asm/sched_clock.h> | 30 | #include <asm/sched_clock.h> |
32 | #include <asm/mach/time.h> | 31 | #include <asm/mach/time.h> |
33 | 32 | ||
34 | #include "common.h" | 33 | #include "common.h" |
34 | #include "hardware.h" | ||
35 | 35 | ||
36 | /* | 36 | /* |
37 | * There are 2 versions of the timer hardware on Freescale MXC hardware. | 37 | * There are 2 versions of the timer hardware on Freescale MXC hardware. |
diff --git a/arch/arm/mach-imx/tzic.c b/arch/arm/mach-imx/tzic.c index 6134e962da14..c7625b4a916b 100644 --- a/arch/arm/mach-imx/tzic.c +++ b/arch/arm/mach-imx/tzic.c | |||
@@ -21,10 +21,10 @@ | |||
21 | #include <asm/mach/irq.h> | 21 | #include <asm/mach/irq.h> |
22 | #include <asm/exception.h> | 22 | #include <asm/exception.h> |
23 | 23 | ||
24 | #include <mach/hardware.h> | ||
25 | #include <mach/irqs.h> | 24 | #include <mach/irqs.h> |
26 | 25 | ||
27 | #include "common.h" | 26 | #include "common.h" |
27 | #include "hardware.h" | ||
28 | #include "irq-common.h" | 28 | #include "irq-common.h" |
29 | 29 | ||
30 | /* | 30 | /* |