diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-09-12 21:37:49 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-10-14 21:18:14 -0400 |
commit | 3ed0bcb4c5b0aba8b11e826f6fa2e189c56f8a5a (patch) | |
tree | bb800e7b199e753ace7d16f7d5e90e0f574c4479 /arch | |
parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) |
ARM: imx: include board headers in the same folder
The headers that are only used by board files do not necessarily
need to be in plat-mxc/include/mach. Move them to the same place
as those board files.
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')
21 files changed, 15 insertions, 15 deletions
diff --git a/arch/arm/plat-mxc/include/mach/3ds_debugboard.h b/arch/arm/mach-imx/3ds_debugboard.h index 9fd6cb3f8fad..9fd6cb3f8fad 100644 --- a/arch/arm/plat-mxc/include/mach/3ds_debugboard.h +++ b/arch/arm/mach-imx/3ds_debugboard.h | |||
diff --git a/arch/arm/plat-mxc/include/mach/board-mx31lilly.h b/arch/arm/mach-imx/board-mx31lilly.h index 0df71bfefbb1..0df71bfefbb1 100644 --- a/arch/arm/plat-mxc/include/mach/board-mx31lilly.h +++ b/arch/arm/mach-imx/board-mx31lilly.h | |||
diff --git a/arch/arm/plat-mxc/include/mach/board-mx31lite.h b/arch/arm/mach-imx/board-mx31lite.h index c1ad0ae807cc..c1ad0ae807cc 100644 --- a/arch/arm/plat-mxc/include/mach/board-mx31lite.h +++ b/arch/arm/mach-imx/board-mx31lite.h | |||
diff --git a/arch/arm/plat-mxc/include/mach/board-mx31moboard.h b/arch/arm/mach-imx/board-mx31moboard.h index de14543891cf..de14543891cf 100644 --- a/arch/arm/plat-mxc/include/mach/board-mx31moboard.h +++ b/arch/arm/mach-imx/board-mx31moboard.h | |||
diff --git a/arch/arm/plat-mxc/include/mach/board-pcm038.h b/arch/arm/mach-imx/board-pcm038.h index 6f371e35753d..6f371e35753d 100644 --- a/arch/arm/plat-mxc/include/mach/board-pcm038.h +++ b/arch/arm/mach-imx/board-pcm038.h | |||
diff --git a/arch/arm/plat-mxc/include/mach/eukrea-baseboards.h b/arch/arm/mach-imx/eukrea-baseboards.h index a21d3313f994..a21d3313f994 100644 --- a/arch/arm/plat-mxc/include/mach/eukrea-baseboards.h +++ b/arch/arm/mach-imx/eukrea-baseboards.h | |||
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c index 2bb9e18d9ee1..1734320078af 100644 --- a/arch/arm/mach-imx/mach-cpuimx27.c +++ b/arch/arm/mach-imx/mach-cpuimx27.c | |||
@@ -34,13 +34,13 @@ | |||
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/eukrea-baseboards.h> | ||
38 | #include <mach/common.h> | 37 | #include <mach/common.h> |
39 | #include <mach/hardware.h> | 38 | #include <mach/hardware.h> |
40 | #include <mach/iomux-mx27.h> | 39 | #include <mach/iomux-mx27.h> |
41 | #include <mach/ulpi.h> | 40 | #include <mach/ulpi.h> |
42 | 41 | ||
43 | #include "devices-imx27.h" | 42 | #include "devices-imx27.h" |
43 | #include "eukrea-baseboards.h" | ||
44 | 44 | ||
45 | static const int eukrea_cpuimx27_pins[] __initconst = { | 45 | static const int eukrea_cpuimx27_pins[] __initconst = { |
46 | /* UART1 */ | 46 | /* UART1 */ |
diff --git a/arch/arm/mach-imx/mach-cpuimx35.c b/arch/arm/mach-imx/mach-cpuimx35.c index d49b0ec6bdec..0abfcb436eb8 100644 --- a/arch/arm/mach-imx/mach-cpuimx35.c +++ b/arch/arm/mach-imx/mach-cpuimx35.c | |||
@@ -37,12 +37,12 @@ | |||
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/eukrea-baseboards.h> | ||
41 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
42 | #include <mach/common.h> | 41 | #include <mach/common.h> |
43 | #include <mach/iomux-mx35.h> | 42 | #include <mach/iomux-mx35.h> |
44 | 43 | ||
45 | #include "devices-imx35.h" | 44 | #include "devices-imx35.h" |
45 | #include "eukrea-baseboards.h" | ||
46 | 46 | ||
47 | static const struct imxuart_platform_data uart_pdata __initconst = { | 47 | static const struct imxuart_platform_data uart_pdata __initconst = { |
48 | .flags = IMXUART_HAVE_RTSCTS, | 48 | .flags = IMXUART_HAVE_RTSCTS, |
diff --git a/arch/arm/mach-imx/mach-cpuimx51sd.c b/arch/arm/mach-imx/mach-cpuimx51sd.c index b87cc49ab1e8..6cb3887d76d0 100644 --- a/arch/arm/mach-imx/mach-cpuimx51sd.c +++ b/arch/arm/mach-imx/mach-cpuimx51sd.c | |||
@@ -26,7 +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/eukrea-baseboards.h> | ||
30 | #include <mach/common.h> | 29 | #include <mach/common.h> |
31 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
32 | #include <mach/iomux-mx51.h> | 31 | #include <mach/iomux-mx51.h> |
@@ -38,6 +37,7 @@ | |||
38 | 37 | ||
39 | #include "devices-imx51.h" | 38 | #include "devices-imx51.h" |
40 | #include "cpu_op-mx51.h" | 39 | #include "cpu_op-mx51.h" |
40 | #include "eukrea-baseboards.h" | ||
41 | 41 | ||
42 | #define USBH1_RST IMX_GPIO_NR(2, 28) | 42 | #define USBH1_RST IMX_GPIO_NR(2, 28) |
43 | #define ETH_RST IMX_GPIO_NR(2, 31) | 43 | #define ETH_RST IMX_GPIO_NR(2, 31) |
diff --git a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c index 017bbb70ea41..4eab1d7edb75 100644 --- a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c +++ b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c | |||
@@ -27,7 +27,6 @@ | |||
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/eukrea-baseboards.h> | ||
31 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
32 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
33 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
@@ -39,6 +38,7 @@ | |||
39 | #include <mach/iomux-mx25.h> | 38 | #include <mach/iomux-mx25.h> |
40 | 39 | ||
41 | #include "devices-imx25.h" | 40 | #include "devices-imx25.h" |
41 | #include "eukrea-baseboards.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-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index 05996f39005c..c69df6cc8116 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c | |||
@@ -40,8 +40,8 @@ | |||
40 | #include <mach/common.h> | 40 | #include <mach/common.h> |
41 | #include <mach/iomux-mx27.h> | 41 | #include <mach/iomux-mx27.h> |
42 | #include <mach/ulpi.h> | 42 | #include <mach/ulpi.h> |
43 | #include <mach/3ds_debugboard.h> | ||
44 | 43 | ||
44 | #include "3ds_debugboard.h" | ||
45 | #include "devices-imx27.h" | 45 | #include "devices-imx27.h" |
46 | 46 | ||
47 | #define SD1_EN_GPIO IMX_GPIO_NR(2, 25) | 47 | #define SD1_EN_GPIO IMX_GPIO_NR(2, 25) |
diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c index 8915f937b7d5..675044355def 100644 --- a/arch/arm/mach-imx/mach-mx31_3ds.c +++ b/arch/arm/mach-imx/mach-mx31_3ds.c | |||
@@ -39,9 +39,9 @@ | |||
39 | #include <asm/memblock.h> | 39 | #include <asm/memblock.h> |
40 | #include <mach/common.h> | 40 | #include <mach/common.h> |
41 | #include <mach/iomux-mx3.h> | 41 | #include <mach/iomux-mx3.h> |
42 | #include <mach/3ds_debugboard.h> | ||
43 | #include <mach/ulpi.h> | 42 | #include <mach/ulpi.h> |
44 | 43 | ||
44 | #include "3ds_debugboard.h" | ||
45 | #include "devices-imx31.h" | 45 | #include "devices-imx31.h" |
46 | 46 | ||
47 | static int mx31_3ds_pins[] = { | 47 | static int mx31_3ds_pins[] = { |
diff --git a/arch/arm/mach-imx/mach-mx31lilly.c b/arch/arm/mach-imx/mach-mx31lilly.c index 34b9bf075daf..2be500ac37f9 100644 --- a/arch/arm/mach-imx/mach-mx31lilly.c +++ b/arch/arm/mach-imx/mach-mx31lilly.c | |||
@@ -45,9 +45,9 @@ | |||
45 | #include <mach/hardware.h> | 45 | #include <mach/hardware.h> |
46 | #include <mach/common.h> | 46 | #include <mach/common.h> |
47 | #include <mach/iomux-mx3.h> | 47 | #include <mach/iomux-mx3.h> |
48 | #include <mach/board-mx31lilly.h> | ||
49 | #include <mach/ulpi.h> | 48 | #include <mach/ulpi.h> |
50 | 49 | ||
50 | #include "board-mx31lilly.h" | ||
51 | #include "devices-imx31.h" | 51 | #include "devices-imx31.h" |
52 | 52 | ||
53 | /* | 53 | /* |
diff --git a/arch/arm/mach-imx/mach-mx31lite.c b/arch/arm/mach-imx/mach-mx31lite.c index ef57cff5abfb..f693558b784d 100644 --- a/arch/arm/mach-imx/mach-mx31lite.c +++ b/arch/arm/mach-imx/mach-mx31lite.c | |||
@@ -41,10 +41,10 @@ | |||
41 | 41 | ||
42 | #include <mach/hardware.h> | 42 | #include <mach/hardware.h> |
43 | #include <mach/common.h> | 43 | #include <mach/common.h> |
44 | #include <mach/board-mx31lite.h> | ||
45 | #include <mach/iomux-mx3.h> | 44 | #include <mach/iomux-mx3.h> |
46 | #include <mach/ulpi.h> | 45 | #include <mach/ulpi.h> |
47 | 46 | ||
47 | #include "board-mx31lite.h" | ||
48 | #include "devices-imx31.h" | 48 | #include "devices-imx31.h" |
49 | 49 | ||
50 | /* | 50 | /* |
diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 459e754ef8c9..2290d305ac45 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c | |||
@@ -42,13 +42,13 @@ | |||
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/board-mx31moboard.h> | ||
46 | #include <mach/common.h> | 45 | #include <mach/common.h> |
47 | #include <mach/hardware.h> | 46 | #include <mach/hardware.h> |
48 | #include <mach/iomux-mx3.h> | 47 | #include <mach/iomux-mx3.h> |
49 | #include <mach/ulpi.h> | 48 | #include <mach/ulpi.h> |
50 | #include <linux/platform_data/asoc-imx-ssi.h> | 49 | #include <linux/platform_data/asoc-imx-ssi.h> |
51 | 50 | ||
51 | #include "board-mx31moboard.h" | ||
52 | #include "devices-imx31.h" | 52 | #include "devices-imx31.h" |
53 | 53 | ||
54 | static unsigned int moboard_pins[] = { | 54 | static unsigned int moboard_pins[] = { |
diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c index 504983c68aa8..aac59b014259 100644 --- a/arch/arm/mach-imx/mach-mx35_3ds.c +++ b/arch/arm/mach-imx/mach-mx35_3ds.c | |||
@@ -46,11 +46,11 @@ | |||
46 | #include <mach/hardware.h> | 46 | #include <mach/hardware.h> |
47 | #include <mach/common.h> | 47 | #include <mach/common.h> |
48 | #include <mach/iomux-mx35.h> | 48 | #include <mach/iomux-mx35.h> |
49 | #include <mach/3ds_debugboard.h> | ||
50 | #include <video/platform_lcd.h> | 49 | #include <video/platform_lcd.h> |
51 | 50 | ||
52 | #include <media/soc_camera.h> | 51 | #include <media/soc_camera.h> |
53 | 52 | ||
53 | #include "3ds_debugboard.h" | ||
54 | #include "devices-imx35.h" | 54 | #include "devices-imx35.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-mx51_3ds.c b/arch/arm/mach-imx/mach-mx51_3ds.c index 9ee84a4af639..4e84f8000296 100644 --- a/arch/arm/mach-imx/mach-mx51_3ds.c +++ b/arch/arm/mach-imx/mach-mx51_3ds.c | |||
@@ -22,8 +22,8 @@ | |||
22 | #include <mach/hardware.h> | 22 | #include <mach/hardware.h> |
23 | #include <mach/common.h> | 23 | #include <mach/common.h> |
24 | #include <mach/iomux-mx51.h> | 24 | #include <mach/iomux-mx51.h> |
25 | #include <mach/3ds_debugboard.h> | ||
26 | 25 | ||
26 | #include "3ds_debugboard.h" | ||
27 | #include "devices-imx51.h" | 27 | #include "devices-imx51.h" |
28 | 28 | ||
29 | #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) | 29 | #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) |
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index 95f49d936fd3..ad329d59e9d2 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c | |||
@@ -33,12 +33,12 @@ | |||
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/board-pcm038.h> | ||
37 | #include <mach/common.h> | 36 | #include <mach/common.h> |
38 | #include <mach/hardware.h> | 37 | #include <mach/hardware.h> |
39 | #include <mach/iomux-mx27.h> | 38 | #include <mach/iomux-mx27.h> |
40 | #include <mach/ulpi.h> | 39 | #include <mach/ulpi.h> |
41 | 40 | ||
41 | #include "board-pcm038.h" | ||
42 | #include "devices-imx27.h" | 42 | #include "devices-imx27.h" |
43 | 43 | ||
44 | static const int pcm038_pins[] __initconst = { | 44 | static const int pcm038_pins[] __initconst = { |
diff --git a/arch/arm/mach-imx/mx31lilly-db.c b/arch/arm/mach-imx/mx31lilly-db.c index 29e890f92055..f2acf22c154d 100644 --- a/arch/arm/mach-imx/mx31lilly-db.c +++ b/arch/arm/mach-imx/mx31lilly-db.c | |||
@@ -33,8 +33,8 @@ | |||
33 | #include <mach/hardware.h> | 33 | #include <mach/hardware.h> |
34 | #include <mach/common.h> | 34 | #include <mach/common.h> |
35 | #include <mach/iomux-mx3.h> | 35 | #include <mach/iomux-mx3.h> |
36 | #include <mach/board-mx31lilly.h> | ||
37 | 36 | ||
37 | #include "board-mx31lilly.h" | ||
38 | #include "devices-imx31.h" | 38 | #include "devices-imx31.h" |
39 | 39 | ||
40 | /* | 40 | /* |
diff --git a/arch/arm/mach-imx/mx31lite-db.c b/arch/arm/mach-imx/mx31lite-db.c index 83d17d9e0bc8..fe4048dcbaa8 100644 --- a/arch/arm/mach-imx/mx31lite-db.c +++ b/arch/arm/mach-imx/mx31lite-db.c | |||
@@ -34,8 +34,8 @@ | |||
34 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <mach/common.h> | 35 | #include <mach/common.h> |
36 | #include <mach/iomux-mx3.h> | 36 | #include <mach/iomux-mx3.h> |
37 | #include <mach/board-mx31lite.h> | ||
38 | 37 | ||
38 | #include "board-mx31lite.h" | ||
39 | #include "devices-imx31.h" | 39 | #include "devices-imx31.h" |
40 | 40 | ||
41 | /* | 41 | /* |
diff --git a/arch/arm/mach-imx/mx31moboard-smartbot.c b/arch/arm/mach-imx/mx31moboard-smartbot.c index fabb801e7994..fc8d1785a02d 100644 --- a/arch/arm/mach-imx/mx31moboard-smartbot.c +++ b/arch/arm/mach-imx/mx31moboard-smartbot.c | |||
@@ -26,11 +26,11 @@ | |||
26 | #include <mach/common.h> | 26 | #include <mach/common.h> |
27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
28 | #include <mach/iomux-mx3.h> | 28 | #include <mach/iomux-mx3.h> |
29 | #include <mach/board-mx31moboard.h> | ||
30 | #include <mach/ulpi.h> | 29 | #include <mach/ulpi.h> |
31 | 30 | ||
32 | #include <media/soc_camera.h> | 31 | #include <media/soc_camera.h> |
33 | 32 | ||
33 | #include "board-mx31moboard.h" | ||
34 | #include "devices-imx31.h" | 34 | #include "devices-imx31.h" |
35 | 35 | ||
36 | static unsigned int smartbot_pins[] = { | 36 | static unsigned int smartbot_pins[] = { |