diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-03-19 10:41:55 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-08 07:59:28 -0400 |
commit | 174e7796624d2749359c3fdc673c1232b060d7f6 (patch) | |
tree | b72c821e4c7aa32765fe0509d0ccd00c9c2b68d1 | |
parent | e5a1f68203e4dab8fdbb4c7d20977e6a5dbc7a49 (diff) |
ARM: ux500: get rid of <mach/[hardware|db8500-regs].h>
This removes <mach/hardware.h> and <mach/db8500-regs.h>
from the Ux500, merging them into the local include
"db8500-regs.h" in mach-ux500. There is some impact
outside the ux500 machine, but most of it is dealt with
in earlier patches.
Contains portions of a clean-up patch from Arnd Bergmann.
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
30 files changed, 46 insertions, 79 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-audio.c b/arch/arm/mach-ux500/board-mop500-audio.c index 43bbee1d20c1..96e62eff9c53 100644 --- a/arch/arm/mach-ux500/board-mop500-audio.c +++ b/arch/arm/mach-ux500/board-mop500-audio.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <linux/platform_data/dma-ste-dma40.h> | 11 | #include <linux/platform_data/dma-ste-dma40.h> |
12 | 12 | ||
13 | #include <mach/devices.h> | 13 | #include <mach/devices.h> |
14 | #include <mach/hardware.h> | ||
15 | #include <mach/irqs.h> | 14 | #include <mach/irqs.h> |
16 | #include <linux/platform_data/asoc-ux500-msp.h> | 15 | #include <linux/platform_data/asoc-ux500-msp.h> |
17 | 16 | ||
diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c index 0a3f30df1eb8..f3976f9c404a 100644 --- a/arch/arm/mach-ux500/board-mop500-pins.c +++ b/arch/arm/mach-ux500/board-mop500-pins.c | |||
@@ -13,8 +13,6 @@ | |||
13 | 13 | ||
14 | #include <asm/mach-types.h> | 14 | #include <asm/mach-types.h> |
15 | 15 | ||
16 | #include <mach/hardware.h> | ||
17 | |||
18 | #include "pins-db8500.h" | 16 | #include "pins-db8500.h" |
19 | #include "board-mop500.h" | 17 | #include "board-mop500.h" |
20 | 18 | ||
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 051b62c27102..0ada76787ca0 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c | |||
@@ -15,8 +15,8 @@ | |||
15 | 15 | ||
16 | #include <asm/mach-types.h> | 16 | #include <asm/mach-types.h> |
17 | #include <mach/devices.h> | 17 | #include <mach/devices.h> |
18 | #include <mach/hardware.h> | ||
19 | 18 | ||
19 | #include "db8500-regs.h" | ||
20 | #include "devices-db8500.h" | 20 | #include "devices-db8500.h" |
21 | #include "board-mop500.h" | 21 | #include "board-mop500.h" |
22 | #include "ste-dma40-db8500.h" | 22 | #include "ste-dma40-db8500.h" |
diff --git a/arch/arm/mach-ux500/board-mop500-uib.c b/arch/arm/mach-ux500/board-mop500-uib.c index 7037d3687e9f..bdaa422da028 100644 --- a/arch/arm/mach-ux500/board-mop500-uib.c +++ b/arch/arm/mach-ux500/board-mop500-uib.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/i2c.h> | 12 | #include <linux/i2c.h> |
13 | 13 | ||
14 | #include <mach/hardware.h> | ||
15 | #include "board-mop500.h" | 14 | #include "board-mop500.h" |
16 | #include "id.h" | 15 | #include "id.h" |
17 | 16 | ||
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index fe3d72cc341c..e1b38ef24e00 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -41,13 +41,13 @@ | |||
41 | #include <asm/mach-types.h> | 41 | #include <asm/mach-types.h> |
42 | #include <asm/mach/arch.h> | 42 | #include <asm/mach/arch.h> |
43 | 43 | ||
44 | #include <mach/hardware.h> | ||
45 | #include <mach/setup.h> | 44 | #include <mach/setup.h> |
46 | #include <mach/devices.h> | 45 | #include <mach/devices.h> |
47 | #include <mach/irqs.h> | 46 | #include <mach/irqs.h> |
48 | #include <linux/platform_data/crypto-ux500.h> | 47 | #include <linux/platform_data/crypto-ux500.h> |
49 | 48 | ||
50 | #include "ste-dma40-db8500.h" | 49 | #include "ste-dma40-db8500.h" |
50 | #include "db8500-regs.h" | ||
51 | #include "devices-db8500.h" | 51 | #include "devices-db8500.h" |
52 | #include "board-mop500.h" | 52 | #include "board-mop500.h" |
53 | #include "board-mop500-regulators.h" | 53 | #include "board-mop500-regulators.h" |
diff --git a/arch/arm/mach-ux500/cache-l2x0.c b/arch/arm/mach-ux500/cache-l2x0.c index 1c1609da76ce..e12cc92dfca5 100644 --- a/arch/arm/mach-ux500/cache-l2x0.c +++ b/arch/arm/mach-ux500/cache-l2x0.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | #include <asm/cacheflush.h> | 10 | #include <asm/cacheflush.h> |
11 | #include <asm/hardware/cache-l2x0.h> | 11 | #include <asm/hardware/cache-l2x0.h> |
12 | #include <mach/hardware.h> | ||
13 | 12 | ||
13 | #include "db8500-regs.h" | ||
14 | #include "id.h" | 14 | #include "id.h" |
15 | 15 | ||
16 | static void __iomem *l2x0_base; | 16 | static void __iomem *l2x0_base; |
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 8c58dffe52d5..d726c06aa015 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c | |||
@@ -28,15 +28,13 @@ | |||
28 | #include <asm/mach/map.h> | 28 | #include <asm/mach/map.h> |
29 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
30 | 30 | ||
31 | #include <mach/hardware.h> | ||
32 | #include <mach/setup.h> | 31 | #include <mach/setup.h> |
33 | #include <mach/devices.h> | 32 | #include <mach/devices.h> |
34 | #include <mach/db8500-regs.h> | ||
35 | #include <mach/irqs.h> | 33 | #include <mach/irqs.h> |
36 | 34 | ||
37 | #include "devices-db8500.h" | 35 | #include "devices-db8500.h" |
38 | #include "ste-dma40-db8500.h" | 36 | #include "ste-dma40-db8500.h" |
39 | 37 | #include "db8500-regs.h" | |
40 | #include "board-mop500.h" | 38 | #include "board-mop500.h" |
41 | #include "id.h" | 39 | #include "id.h" |
42 | 40 | ||
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index ee69439d5a8e..aa14c5f6e5fa 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c | |||
@@ -24,11 +24,11 @@ | |||
24 | 24 | ||
25 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
26 | 26 | ||
27 | #include <mach/hardware.h> | ||
28 | #include <mach/setup.h> | 27 | #include <mach/setup.h> |
29 | #include <mach/devices.h> | 28 | #include <mach/devices.h> |
30 | 29 | ||
31 | #include "board-mop500.h" | 30 | #include "board-mop500.h" |
31 | #include "db8500-regs.h" | ||
32 | #include "id.h" | 32 | #include "id.h" |
33 | 33 | ||
34 | /* | 34 | /* |
diff --git a/arch/arm/mach-ux500/cpuidle.c b/arch/arm/mach-ux500/cpuidle.c index 1e5bb6640f56..654115afb367 100644 --- a/arch/arm/mach-ux500/cpuidle.c +++ b/arch/arm/mach-ux500/cpuidle.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include <asm/cpuidle.h> | 21 | #include <asm/cpuidle.h> |
22 | #include <asm/proc-fns.h> | 22 | #include <asm/proc-fns.h> |
23 | 23 | ||
24 | #include "db8500-regs.h" | ||
25 | |||
24 | static atomic_t master = ATOMIC_INIT(0); | 26 | static atomic_t master = ATOMIC_INIT(0); |
25 | static DEFINE_SPINLOCK(master_lock); | 27 | static DEFINE_SPINLOCK(master_lock); |
26 | static DEFINE_PER_CPU(struct cpuidle_device, ux500_cpuidle_device); | 28 | static DEFINE_PER_CPU(struct cpuidle_device, ux500_cpuidle_device); |
diff --git a/arch/arm/mach-ux500/include/mach/db8500-regs.h b/arch/arm/mach-ux500/db8500-regs.h index 1530d493879d..b2d7a0b98629 100644 --- a/arch/arm/mach-ux500/include/mach/db8500-regs.h +++ b/arch/arm/mach-ux500/db8500-regs.h | |||
@@ -170,4 +170,32 @@ | |||
170 | /* SoC identification number information */ | 170 | /* SoC identification number information */ |
171 | #define U8500_BB_UID_BASE (U8500_BACKUPRAM1_BASE + 0xFC0) | 171 | #define U8500_BB_UID_BASE (U8500_BACKUPRAM1_BASE + 0xFC0) |
172 | 172 | ||
173 | /* Offsets to specific addresses in some IP blocks for DMA */ | ||
174 | #define MSP_TX_RX_REG_OFFSET 0 | ||
175 | #define CRYP1_RX_REG_OFFSET 0x10 | ||
176 | #define CRYP1_TX_REG_OFFSET 0x8 | ||
177 | #define HASH1_TX_REG_OFFSET 0x4 | ||
178 | |||
179 | /* | ||
180 | * Macros to get at IO space when running virtually | ||
181 | * We dont map all the peripherals, let ioremap do | ||
182 | * this for us. We map only very basic peripherals here. | ||
183 | */ | ||
184 | #define U8500_IO_VIRTUAL 0xf0000000 | ||
185 | #define U8500_IO_PHYSICAL 0xa0000000 | ||
186 | /* This is where we map in the ROM to check ASIC IDs */ | ||
187 | #define UX500_VIRT_ROM 0xf0000000 | ||
188 | |||
189 | /* This macro is used in assembly, so no cast */ | ||
190 | #define IO_ADDRESS(x) \ | ||
191 | (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + U8500_IO_VIRTUAL) | ||
192 | |||
193 | /* typesafe io address */ | ||
194 | #define __io_address(n) IOMEM(IO_ADDRESS(n)) | ||
195 | |||
196 | /* Used by some plat-nomadik code */ | ||
197 | #define io_p2v(n) __io_address(n) | ||
198 | |||
199 | #define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x) | ||
200 | |||
173 | #endif | 201 | #endif |
diff --git a/arch/arm/mach-ux500/devices-common.c b/arch/arm/mach-ux500/devices-common.c index 16b5f71e6974..94868b771438 100644 --- a/arch/arm/mach-ux500/devices-common.c +++ b/arch/arm/mach-ux500/devices-common.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/platform_data/pinctrl-nomadik.h> | 14 | #include <linux/platform_data/pinctrl-nomadik.h> |
15 | 15 | ||
16 | #include <mach/hardware.h> | ||
17 | #include <mach/irqs.h> | 16 | #include <mach/irqs.h> |
18 | 17 | ||
19 | #include "devices-common.h" | 18 | #include "devices-common.h" |
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c index df4d7de0fd9f..4c0ef1419400 100644 --- a/arch/arm/mach-ux500/devices-db8500.c +++ b/arch/arm/mach-ux500/devices-db8500.c | |||
@@ -15,10 +15,10 @@ | |||
15 | #include <linux/platform_data/dma-ste-dma40.h> | 15 | #include <linux/platform_data/dma-ste-dma40.h> |
16 | #include <linux/mfd/dbx500-prcmu.h> | 16 | #include <linux/mfd/dbx500-prcmu.h> |
17 | 17 | ||
18 | #include <mach/hardware.h> | ||
19 | #include <mach/setup.h> | 18 | #include <mach/setup.h> |
20 | #include <mach/irqs.h> | 19 | #include <mach/irqs.h> |
21 | 20 | ||
21 | #include "db8500-regs.h" | ||
22 | #include "devices-db8500.h" | 22 | #include "devices-db8500.h" |
23 | #include "ste-dma40-db8500.h" | 23 | #include "ste-dma40-db8500.h" |
24 | 24 | ||
diff --git a/arch/arm/mach-ux500/devices-db8500.h b/arch/arm/mach-ux500/devices-db8500.h index dbcb35c48f06..c9db210fb54a 100644 --- a/arch/arm/mach-ux500/devices-db8500.h +++ b/arch/arm/mach-ux500/devices-db8500.h | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include <linux/platform_data/usb-musb-ux500.h> | 11 | #include <linux/platform_data/usb-musb-ux500.h> |
12 | #include <mach/irqs.h> | 12 | #include <mach/irqs.h> |
13 | #include "db8500-regs.h" | ||
13 | #include "devices-common.h" | 14 | #include "devices-common.h" |
14 | 15 | ||
15 | struct ske_keypad_platform_data; | 16 | struct ske_keypad_platform_data; |
diff --git a/arch/arm/mach-ux500/devices.c b/arch/arm/mach-ux500/devices.c index ea0a2f92ca70..f63a512190cb 100644 --- a/arch/arm/mach-ux500/devices.c +++ b/arch/arm/mach-ux500/devices.c | |||
@@ -11,9 +11,10 @@ | |||
11 | #include <linux/io.h> | 11 | #include <linux/io.h> |
12 | #include <linux/amba/bus.h> | 12 | #include <linux/amba/bus.h> |
13 | 13 | ||
14 | #include <mach/hardware.h> | ||
15 | #include <mach/setup.h> | 14 | #include <mach/setup.h> |
16 | 15 | ||
16 | #include "db8500-regs.h" | ||
17 | |||
17 | void __init amba_add_devices(struct amba_device *devs[], int num) | 18 | void __init amba_add_devices(struct amba_device *devs[], int num) |
18 | { | 19 | { |
19 | int i; | 20 | int i; |
diff --git a/arch/arm/mach-ux500/id.c b/arch/arm/mach-ux500/id.c index 9f951842e1e5..a847cf27b93b 100644 --- a/arch/arm/mach-ux500/id.c +++ b/arch/arm/mach-ux500/id.c | |||
@@ -14,9 +14,9 @@ | |||
14 | #include <asm/cacheflush.h> | 14 | #include <asm/cacheflush.h> |
15 | #include <asm/mach/map.h> | 15 | #include <asm/mach/map.h> |
16 | 16 | ||
17 | #include <mach/hardware.h> | ||
18 | #include <mach/setup.h> | 17 | #include <mach/setup.h> |
19 | 18 | ||
19 | #include "db8500-regs.h" | ||
20 | #include "id.h" | 20 | #include "id.h" |
21 | 21 | ||
22 | struct dbx500_asic_id dbx500_id; | 22 | struct dbx500_asic_id dbx500_id; |
diff --git a/arch/arm/mach-ux500/include/mach/hardware.h b/arch/arm/mach-ux500/include/mach/hardware.h deleted file mode 100644 index 4eece2af1898..000000000000 --- a/arch/arm/mach-ux500/include/mach/hardware.h +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2009 ST-Ericsson. | ||
3 | * | ||
4 | * U8500 hardware definitions | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public | ||
7 | * License version 2. This program is licensed "as is" without any | ||
8 | * warranty of any kind, whether express or implied. | ||
9 | */ | ||
10 | #ifndef __MACH_HARDWARE_H | ||
11 | #define __MACH_HARDWARE_H | ||
12 | |||
13 | /* | ||
14 | * Macros to get at IO space when running virtually | ||
15 | * We dont map all the peripherals, let ioremap do | ||
16 | * this for us. We map only very basic peripherals here. | ||
17 | */ | ||
18 | #define U8500_IO_VIRTUAL 0xf0000000 | ||
19 | #define U8500_IO_PHYSICAL 0xa0000000 | ||
20 | /* This is where we map in the ROM to check ASIC IDs */ | ||
21 | #define UX500_VIRT_ROM 0xf0000000 | ||
22 | |||
23 | /* This macro is used in assembly, so no cast */ | ||
24 | #define IO_ADDRESS(x) \ | ||
25 | (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + U8500_IO_VIRTUAL) | ||
26 | |||
27 | /* typesafe io address */ | ||
28 | #define __io_address(n) IOMEM(IO_ADDRESS(n)) | ||
29 | |||
30 | /* Used by some plat-nomadik code */ | ||
31 | #define io_p2v(n) __io_address(n) | ||
32 | |||
33 | #include <mach/db8500-regs.h> | ||
34 | |||
35 | #define MSP_TX_RX_REG_OFFSET 0 | ||
36 | #define CRYP1_RX_REG_OFFSET 0x10 | ||
37 | #define CRYP1_TX_REG_OFFSET 0x8 | ||
38 | #define HASH1_TX_REG_OFFSET 0x4 | ||
39 | |||
40 | #ifndef __ASSEMBLY__ | ||
41 | |||
42 | #define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x) | ||
43 | |||
44 | #endif /* __ASSEMBLY__ */ | ||
45 | #endif /* __MACH_HARDWARE_H */ | ||
diff --git a/arch/arm/mach-ux500/include/mach/irqs.h b/arch/arm/mach-ux500/include/mach/irqs.h index fc77b4274c8d..829947db052b 100644 --- a/arch/arm/mach-ux500/include/mach/irqs.h +++ b/arch/arm/mach-ux500/include/mach/irqs.h | |||
@@ -10,8 +10,6 @@ | |||
10 | #ifndef ASM_ARCH_IRQS_H | 10 | #ifndef ASM_ARCH_IRQS_H |
11 | #define ASM_ARCH_IRQS_H | 11 | #define ASM_ARCH_IRQS_H |
12 | 12 | ||
13 | #include <mach/hardware.h> | ||
14 | |||
15 | #define IRQ_LOCALTIMER 29 | 13 | #define IRQ_LOCALTIMER 29 |
16 | #define IRQ_LOCALWDOG 30 | 14 | #define IRQ_LOCALWDOG 30 |
17 | 15 | ||
diff --git a/arch/arm/mach-ux500/include/mach/uncompress.h b/arch/arm/mach-ux500/include/mach/uncompress.h index 36969d52e53a..533a00432950 100644 --- a/arch/arm/mach-ux500/include/mach/uncompress.h +++ b/arch/arm/mach-ux500/include/mach/uncompress.h | |||
@@ -22,7 +22,8 @@ | |||
22 | #include <asm/mach-types.h> | 22 | #include <asm/mach-types.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/amba/serial.h> | 24 | #include <linux/amba/serial.h> |
25 | #include <mach/hardware.h> | 25 | /* TODO: This goes away in multiplatform boot, this file gets deleted */ |
26 | #include "../../db8500-regs.h" | ||
26 | 27 | ||
27 | void __iomem *ux500_uart_base; | 28 | void __iomem *ux500_uart_base; |
28 | 29 | ||
diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 18f7af339dc9..8a9c070ec206 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c | |||
@@ -22,9 +22,9 @@ | |||
22 | #include <asm/smp_plat.h> | 22 | #include <asm/smp_plat.h> |
23 | #include <asm/smp_scu.h> | 23 | #include <asm/smp_scu.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | #include <mach/setup.h> | 25 | #include <mach/setup.h> |
27 | 26 | ||
27 | #include "db8500-regs.h" | ||
28 | #include "id.h" | 28 | #include "id.h" |
29 | 29 | ||
30 | /* This is called from headsmp.S to wakeup the secondary core */ | 30 | /* This is called from headsmp.S to wakeup the secondary core */ |
diff --git a/arch/arm/mach-ux500/pm.c b/arch/arm/mach-ux500/pm.c index 6949a1332f8f..1a468f0fd22e 100644 --- a/arch/arm/mach-ux500/pm.c +++ b/arch/arm/mach-ux500/pm.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <linux/platform_data/arm-ux500-pm.h> | 14 | #include <linux/platform_data/arm-ux500-pm.h> |
15 | 15 | ||
16 | #include <mach/hardware.h> | 16 | #include "db8500-regs.h" |
17 | 17 | ||
18 | /* ARM WFI Standby signal register */ | 18 | /* ARM WFI Standby signal register */ |
19 | #define PRCM_ARM_WFI_STANDBY (prcmu_base + 0x130) | 19 | #define PRCM_ARM_WFI_STANDBY (prcmu_base + 0x130) |
diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c index a6af0b8732ba..5b91faccef01 100644 --- a/arch/arm/mach-ux500/timer.c +++ b/arch/arm/mach-ux500/timer.c | |||
@@ -14,9 +14,9 @@ | |||
14 | #include <asm/smp_twd.h> | 14 | #include <asm/smp_twd.h> |
15 | 15 | ||
16 | #include <mach/setup.h> | 16 | #include <mach/setup.h> |
17 | #include <mach/hardware.h> | ||
18 | #include <mach/irqs.h> | 17 | #include <mach/irqs.h> |
19 | 18 | ||
19 | #include "db8500-regs.h" | ||
20 | #include "id.h" | 20 | #include "id.h" |
21 | 21 | ||
22 | #ifdef CONFIG_HAVE_ARM_TWD | 22 | #ifdef CONFIG_HAVE_ARM_TWD |
diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c index 78ac65f62e87..2dfc72f7cd8a 100644 --- a/arch/arm/mach-ux500/usb.c +++ b/arch/arm/mach-ux500/usb.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/platform_data/usb-musb-ux500.h> | 10 | #include <linux/platform_data/usb-musb-ux500.h> |
11 | #include <linux/platform_data/dma-ste-dma40.h> | 11 | #include <linux/platform_data/dma-ste-dma40.h> |
12 | 12 | ||
13 | #include <mach/hardware.h> | 13 | #include "db8500-regs.h" |
14 | 14 | ||
15 | #define MUSB_DMA40_RX_CH { \ | 15 | #define MUSB_DMA40_RX_CH { \ |
16 | .mode = STEDMA40_MODE_LOGICAL, \ | 16 | .mode = STEDMA40_MODE_LOGICAL, \ |
diff --git a/drivers/clk/ux500/clk-prcc.c b/drivers/clk/ux500/clk-prcc.c index 7eee7f768355..bd4769a84485 100644 --- a/drivers/clk/ux500/clk-prcc.c +++ b/drivers/clk/ux500/clk-prcc.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <linux/err.h> | 14 | #include <linux/err.h> |
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <mach/hardware.h> | ||
17 | 16 | ||
18 | #include "clk.h" | 17 | #include "clk.h" |
19 | 18 | ||
diff --git a/drivers/clocksource/clksrc-dbx500-prcmu.c b/drivers/clocksource/clksrc-dbx500-prcmu.c index c26c369eb9e6..4f34093bdb4e 100644 --- a/drivers/clocksource/clksrc-dbx500-prcmu.c +++ b/drivers/clocksource/clksrc-dbx500-prcmu.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <asm/sched_clock.h> | 18 | #include <asm/sched_clock.h> |
19 | 19 | ||
20 | #include <mach/setup.h> | 20 | #include <mach/setup.h> |
21 | #include <mach/hardware.h> | ||
22 | 21 | ||
23 | #define RATE_32K 32768 | 22 | #define RATE_32K 32768 |
24 | 23 | ||
diff --git a/drivers/crypto/ux500/cryp/cryp.c b/drivers/crypto/ux500/cryp/cryp.c index e208ceaf81c9..3eafa903ebcd 100644 --- a/drivers/crypto/ux500/cryp/cryp.c +++ b/drivers/crypto/ux500/cryp/cryp.c | |||
@@ -12,8 +12,6 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
14 | 14 | ||
15 | #include <mach/hardware.h> | ||
16 | |||
17 | #include "cryp_p.h" | 15 | #include "cryp_p.h" |
18 | #include "cryp.h" | 16 | #include "cryp.h" |
19 | 17 | ||
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 8bc5fef07e7a..2809b19e3add 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <crypto/scatterwalk.h> | 32 | #include <crypto/scatterwalk.h> |
33 | 33 | ||
34 | #include <linux/platform_data/crypto-ux500.h> | 34 | #include <linux/platform_data/crypto-ux500.h> |
35 | #include <mach/hardware.h> | ||
36 | 35 | ||
37 | #include "cryp_p.h" | 36 | #include "cryp_p.h" |
38 | #include "cryp.h" | 37 | #include "cryp.h" |
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 632c3339895f..1827e9f1f873 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <crypto/algapi.h> | 32 | #include <crypto/algapi.h> |
33 | 33 | ||
34 | #include <linux/platform_data/crypto-ux500.h> | 34 | #include <linux/platform_data/crypto-ux500.h> |
35 | #include <mach/hardware.h> | ||
36 | 35 | ||
37 | #include "hash_alg.h" | 36 | #include "hash_alg.h" |
38 | 37 | ||
diff --git a/sound/soc/ux500/mop500_ab8500.c b/sound/soc/ux500/mop500_ab8500.c index 78cce236693e..892ad9a05c9f 100644 --- a/sound/soc/ux500/mop500_ab8500.c +++ b/sound/soc/ux500/mop500_ab8500.c | |||
@@ -17,8 +17,6 @@ | |||
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <linux/clk.h> | 18 | #include <linux/clk.h> |
19 | 19 | ||
20 | #include <mach/hardware.h> | ||
21 | |||
22 | #include <sound/soc.h> | 20 | #include <sound/soc.h> |
23 | #include <sound/soc-dapm.h> | 21 | #include <sound/soc-dapm.h> |
24 | #include <sound/pcm.h> | 22 | #include <sound/pcm.h> |
diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c index 0d9713e4a440..54028cf76511 100644 --- a/sound/soc/ux500/ux500_msp_dai.c +++ b/sound/soc/ux500/ux500_msp_dai.c | |||
@@ -21,8 +21,6 @@ | |||
21 | #include <linux/mfd/dbx500-prcmu.h> | 21 | #include <linux/mfd/dbx500-prcmu.h> |
22 | #include <linux/platform_data/asoc-ux500-msp.h> | 22 | #include <linux/platform_data/asoc-ux500-msp.h> |
23 | 23 | ||
24 | #include <mach/hardware.h> | ||
25 | |||
26 | #include <sound/soc.h> | 24 | #include <sound/soc.h> |
27 | #include <sound/soc-dai.h> | 25 | #include <sound/soc-dai.h> |
28 | 26 | ||
diff --git a/sound/soc/ux500/ux500_msp_i2s.c b/sound/soc/ux500/ux500_msp_i2s.c index a5820073c875..f2db6c90a9e2 100644 --- a/sound/soc/ux500/ux500_msp_i2s.c +++ b/sound/soc/ux500/ux500_msp_i2s.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include <linux/of.h> | 22 | #include <linux/of.h> |
23 | #include <linux/platform_data/asoc-ux500-msp.h> | 23 | #include <linux/platform_data/asoc-ux500-msp.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | |||
27 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |
28 | 26 | ||
29 | #include "ux500_msp_i2s.h" | 27 | #include "ux500_msp_i2s.h" |