diff options
author | Eric Bénard <eric@eukrea.com> | 2010-07-23 08:56:40 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-07-26 09:05:34 -0400 |
commit | 95afd090752a1f7dab6f4b24b1b0d12593e643bb (patch) | |
tree | 78166249d199523c034b4c0a34be6901d6791506 /arch | |
parent | 8cd1b5c3d4e686c30404a9a466972e2ee13ada9f (diff) |
eukrea-baseboards: merge includes in one file
as per suggested by Sascha
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/mach-cpuimx27.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx25/mach-cpuimx25.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-cpuimx35.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx27.h | 40 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx35.h | 40 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/eukrea-baseboards.h (renamed from arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx25.h) | 17 |
6 files changed, 14 insertions, 89 deletions
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c index 2a135449e52c..575ff1ae85a7 100644 --- a/arch/arm/mach-imx/mach-cpuimx27.c +++ b/arch/arm/mach-imx/mach-cpuimx27.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/mach/time.h> | 35 | #include <asm/mach/time.h> |
36 | #include <asm/mach/map.h> | 36 | #include <asm/mach/map.h> |
37 | 37 | ||
38 | #include <mach/board-eukrea_cpuimx27.h> | 38 | #include <mach/eukrea-baseboards.h> |
39 | #include <mach/common.h> | 39 | #include <mach/common.h> |
40 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
41 | #include <mach/iomux-mx27.h> | 41 | #include <mach/iomux-mx27.h> |
diff --git a/arch/arm/mach-mx25/mach-cpuimx25.c b/arch/arm/mach-mx25/mach-cpuimx25.c index d39f9ccd4be0..56b2e26d23b4 100644 --- a/arch/arm/mach-mx25/mach-cpuimx25.c +++ b/arch/arm/mach-mx25/mach-cpuimx25.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/usb/ulpi.h> | 29 | #include <linux/usb/ulpi.h> |
30 | #include <linux/fsl_devices.h> | 30 | #include <linux/fsl_devices.h> |
31 | 31 | ||
32 | #include <mach/board-eukrea_cpuimx25.h> | 32 | #include <mach/eukrea-baseboards.h> |
33 | #include <mach/hardware.h> | 33 | #include <mach/hardware.h> |
34 | #include <asm/mach-types.h> | 34 | #include <asm/mach-types.h> |
35 | #include <asm/mach/arch.h> | 35 | #include <asm/mach/arch.h> |
diff --git a/arch/arm/mach-mx3/mach-cpuimx35.c b/arch/arm/mach-mx3/mach-cpuimx35.c index 4f6146d31328..63f970f340a2 100644 --- a/arch/arm/mach-mx3/mach-cpuimx35.c +++ b/arch/arm/mach-mx3/mach-cpuimx35.c | |||
@@ -37,7 +37,7 @@ | |||
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/board-eukrea_cpuimx35.h> | 40 | #include <mach/eukrea-baseboards.h> |
41 | #include <mach/hardware.h> | 41 | #include <mach/hardware.h> |
42 | #include <mach/common.h> | 42 | #include <mach/common.h> |
43 | #include <mach/iomux-mx35.h> | 43 | #include <mach/iomux-mx35.h> |
diff --git a/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx27.h b/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx27.h deleted file mode 100644 index 45b2fb8bed61..000000000000 --- a/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx27.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2009 Eric Benard - eric@eukrea.com | ||
3 | * | ||
4 | * Based on board-pcm038.h which is : | ||
5 | * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or | ||
8 | * modify it under the terms of the GNU General Public License | ||
9 | * as published by the Free Software Foundation; either version 2 | ||
10 | * of the License, or (at your option) any later version. | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
19 | * MA 02110-1301, USA. | ||
20 | */ | ||
21 | |||
22 | #ifndef __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX27_H__ | ||
23 | #define __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX27_H__ | ||
24 | |||
25 | #ifndef __ASSEMBLY__ | ||
26 | /* | ||
27 | * This CPU module needs a baseboard to work. After basic initializing | ||
28 | * its own devices, it calls the baseboard's init function. | ||
29 | * TODO: Add your own baseboard init function and call it from | ||
30 | * inside eukrea_cpuimx27_init(). | ||
31 | * | ||
32 | * This example here is for the development board. Refer | ||
33 | * eukrea_mbimx27-baseboard.c | ||
34 | */ | ||
35 | |||
36 | extern void eukrea_mbimx27_baseboard_init(void); | ||
37 | |||
38 | #endif | ||
39 | |||
40 | #endif /* __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX27_H__ */ | ||
diff --git a/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx35.h b/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx35.h deleted file mode 100644 index 116eee723455..000000000000 --- a/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx35.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Eric Benard - eric@eukrea.com | ||
3 | * | ||
4 | * Based on board-pcm038.h which is : | ||
5 | * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or | ||
8 | * modify it under the terms of the GNU General Public License | ||
9 | * as published by the Free Software Foundation; either version 2 | ||
10 | * of the License, or (at your option) any later version. | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
19 | * MA 02110-1301, USA. | ||
20 | */ | ||
21 | |||
22 | #ifndef __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX35_H__ | ||
23 | #define __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX35_H__ | ||
24 | |||
25 | #ifndef __ASSEMBLY__ | ||
26 | /* | ||
27 | * This CPU module needs a baseboard to work. After basic initializing | ||
28 | * its own devices, it calls baseboard's init function. | ||
29 | * TODO: Add your own baseboard init function and call it from | ||
30 | * inside eukrea_cpuimx25_init(). | ||
31 | * | ||
32 | * This example here is for the development board. Refer | ||
33 | * eukrea_mbimx25-baseboard.c | ||
34 | */ | ||
35 | |||
36 | extern void eukrea_mbimxsd_baseboard_init(void); | ||
37 | |||
38 | #endif | ||
39 | |||
40 | #endif /* __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX35_H__ */ | ||
diff --git a/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx25.h b/arch/arm/plat-mxc/include/mach/eukrea-baseboards.h index 5c9901e7d8d0..4e7cbe7fe801 100644 --- a/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx25.h +++ b/arch/arm/plat-mxc/include/mach/eukrea-baseboards.h | |||
@@ -19,22 +19,27 @@ | |||
19 | * MA 02110-1301, USA. | 19 | * MA 02110-1301, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #ifndef __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX25_H__ | 22 | #ifndef __MACH_EUKREA_BASEBOARDS_H__ |
23 | #define __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX25_H__ | 23 | #define __MACH_EUKREA_BASEBOARDS_H__ |
24 | 24 | ||
25 | #ifndef __ASSEMBLY__ | 25 | #ifndef __ASSEMBLY__ |
26 | /* | 26 | /* |
27 | * This CPU module needs a baseboard to work. After basic initializing | 27 | * This CPU module needs a baseboard to work. After basic initializing |
28 | * its own devices, it calls baseboard's init function. | 28 | * its own devices, it calls baseboard's init function. |
29 | * TODO: Add your own baseboard init function and call it from | 29 | * TODO: Add your own baseboard init function and call it from |
30 | * inside eukrea_cpuimx25_init(). | 30 | * inside eukrea_cpuimx25_init() eukrea_cpuimx27_init() |
31 | * or eukrea_cpuimx35_init(). | ||
31 | * | 32 | * |
32 | * This example here is for the development board. Refer | 33 | * This example here is for the development board. Refer |
33 | * eukrea_mbimx25-baseboard.c | 34 | * mach-mx25/eukrea_mbimxsd-baseboard.c for cpuimx25 |
35 | * mach-imx/eukrea_mbimx27-baseboard.c for cpuimx27 | ||
36 | * mach-mx3/eukrea_mbimxsd-baseboard.c for cpuimx35 | ||
34 | */ | 37 | */ |
35 | 38 | ||
36 | extern void eukrea_mbimxsd_baseboard_init(void); | 39 | extern void eukrea_mbimx25_baseboard_init(void); |
40 | extern void eukrea_mbimx27_baseboard_init(void); | ||
41 | extern void eukrea_mbimx35_baseboard_init(void); | ||
37 | 42 | ||
38 | #endif | 43 | #endif |
39 | 44 | ||
40 | #endif /* __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX25_H__ */ | 45 | #endif /* __MACH_EUKREA_BASEBOARDS_H__ */ |