diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-11 12:06:17 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:53:49 -0500 |
commit | e48ab1c16ff2af83e6a2a1228504710a5d339d08 (patch) | |
tree | 6f8b911583ecb48ca18a2c724bb99d3d9ab10815 /arch/arm | |
parent | 2a8bd56a382ec0e24249b1adaca4f38bd529e825 (diff) |
ARM: imx: move mx25 support to mach-imx
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 85 | ||||
-rw-r--r-- | arch/arm/mach-imx/Makefile | 6 | ||||
-rw-r--r-- | arch/arm/mach-imx/Makefile.boot | 4 | ||||
-rw-r--r-- | arch/arm/mach-imx/clock-imx25.c (renamed from arch/arm/mach-mx25/clock.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-imx/devices-imx25.h (renamed from arch/arm/mach-mx25/devices-imx25.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c (renamed from arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-eukrea_cpuimx25.c (renamed from arch/arm/mach-mx25/mach-cpuimx25.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx25_3ds.c (renamed from arch/arm/mach-mx25/mach-mx25_3ds.c) | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mm-imx25.c (renamed from arch/arm/mach-mx25/mm.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-mx25/Kconfig | 43 | ||||
-rw-r--r-- | arch/arm/mach-mx25/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-mx25/Makefile.boot | 3 | ||||
-rw-r--r-- | arch/arm/plat-mxc/Kconfig | 5 |
14 files changed, 81 insertions, 74 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index b87aed028eef..057beb8ee203 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -154,7 +154,7 @@ machine-$(CONFIG_ARCH_MSM) := msm | |||
154 | machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 | 154 | machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 |
155 | machine-$(CONFIG_ARCH_MX1) := imx | 155 | machine-$(CONFIG_ARCH_MX1) := imx |
156 | machine-$(CONFIG_ARCH_MX2) := imx | 156 | machine-$(CONFIG_ARCH_MX2) := imx |
157 | machine-$(CONFIG_ARCH_MX25) := mx25 | 157 | machine-$(CONFIG_ARCH_MX25) := imx |
158 | machine-$(CONFIG_ARCH_MX3) := mx3 | 158 | machine-$(CONFIG_ARCH_MX3) := mx3 |
159 | machine-$(CONFIG_ARCH_MX5) := mx5 | 159 | machine-$(CONFIG_ARCH_MX5) := mx5 |
160 | machine-$(CONFIG_ARCH_MXC91231) := mxc91231 | 160 | machine-$(CONFIG_ARCH_MXC91231) := mxc91231 |
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 86bab49798c6..176984f22a07 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -1,13 +1,34 @@ | |||
1 | config IMX_HAVE_DMA_V1 | 1 | config IMX_HAVE_DMA_V1 |
2 | bool | 2 | bool |
3 | 3 | ||
4 | if ARCH_MX1 | ||
5 | |||
6 | config SOC_IMX1 | 4 | config SOC_IMX1 |
5 | bool | ||
7 | select CPU_ARM920T | 6 | select CPU_ARM920T |
8 | select IMX_HAVE_DMA_V1 | 7 | select IMX_HAVE_DMA_V1 |
9 | select IMX_HAVE_IOMUX_V1 | 8 | select IMX_HAVE_IOMUX_V1 |
9 | |||
10 | config SOC_IMX21 | ||
11 | bool | ||
12 | select CPU_ARM926T | ||
13 | select ARCH_MXC_AUDMUX_V1 | ||
14 | select IMX_HAVE_DMA_V1 | ||
15 | select IMX_HAVE_IOMUX_V1 | ||
16 | |||
17 | config SOC_IMX25 | ||
18 | bool | ||
19 | select CPU_ARM926T | ||
20 | select ARCH_MXC_IOMUX_V3 | ||
21 | select HAVE_FB_IMX | ||
22 | select ARCH_MXC_AUDMUX_V2 | ||
23 | |||
24 | config SOC_IMX27 | ||
10 | bool | 25 | bool |
26 | select CPU_ARM926T | ||
27 | select ARCH_MXC_AUDMUX_V1 | ||
28 | select IMX_HAVE_DMA_V1 | ||
29 | select IMX_HAVE_IOMUX_V1 | ||
30 | |||
31 | if ARCH_MX1 | ||
11 | 32 | ||
12 | comment "MX1 platforms:" | 33 | comment "MX1 platforms:" |
13 | config MACH_MXLADS | 34 | config MACH_MXLADS |
@@ -31,20 +52,6 @@ endif | |||
31 | 52 | ||
32 | if ARCH_MX2 | 53 | if ARCH_MX2 |
33 | 54 | ||
34 | config SOC_IMX21 | ||
35 | select CPU_ARM926T | ||
36 | select ARCH_MXC_AUDMUX_V1 | ||
37 | select IMX_HAVE_DMA_V1 | ||
38 | select IMX_HAVE_IOMUX_V1 | ||
39 | bool | ||
40 | |||
41 | config SOC_IMX27 | ||
42 | select CPU_ARM926T | ||
43 | select ARCH_MXC_AUDMUX_V1 | ||
44 | select IMX_HAVE_DMA_V1 | ||
45 | select IMX_HAVE_IOMUX_V1 | ||
46 | bool | ||
47 | |||
48 | choice | 55 | choice |
49 | prompt "CPUs:" | 56 | prompt "CPUs:" |
50 | default MACH_MX21 | 57 | default MACH_MX21 |
@@ -81,6 +88,52 @@ config MACH_MX21ADS | |||
81 | 88 | ||
82 | endif | 89 | endif |
83 | 90 | ||
91 | if ARCH_MX25 | ||
92 | |||
93 | comment "MX25 platforms:" | ||
94 | |||
95 | config MACH_MX25_3DS | ||
96 | bool "Support MX25PDK (3DS) Platform" | ||
97 | select SOC_IMX25 | ||
98 | select IMX_HAVE_PLATFORM_ESDHC | ||
99 | select IMX_HAVE_PLATFORM_IMX2_WDT | ||
100 | select IMX_HAVE_PLATFORM_IMXDI_RTC | ||
101 | select IMX_HAVE_PLATFORM_IMX_FB | ||
102 | select IMX_HAVE_PLATFORM_IMX_KEYPAD | ||
103 | select IMX_HAVE_PLATFORM_IMX_UART | ||
104 | select IMX_HAVE_PLATFORM_MXC_EHCI | ||
105 | select IMX_HAVE_PLATFORM_MXC_NAND | ||
106 | |||
107 | config MACH_EUKREA_CPUIMX25 | ||
108 | bool "Support Eukrea CPUIMX25 Platform" | ||
109 | select SOC_IMX25 | ||
110 | select IMX_HAVE_PLATFORM_ESDHC | ||
111 | select IMX_HAVE_PLATFORM_FLEXCAN | ||
112 | select IMX_HAVE_PLATFORM_FSL_USB2_UDC | ||
113 | select IMX_HAVE_PLATFORM_IMXDI_RTC | ||
114 | select IMX_HAVE_PLATFORM_IMX_FB | ||
115 | select IMX_HAVE_PLATFORM_IMX_I2C | ||
116 | select IMX_HAVE_PLATFORM_IMX_UART | ||
117 | select IMX_HAVE_PLATFORM_MXC_EHCI | ||
118 | select IMX_HAVE_PLATFORM_MXC_NAND | ||
119 | select MXC_ULPI if USB_ULPI | ||
120 | |||
121 | choice | ||
122 | prompt "Baseboard" | ||
123 | depends on MACH_EUKREA_CPUIMX25 | ||
124 | default MACH_EUKREA_MBIMXSD25_BASEBOARD | ||
125 | |||
126 | config MACH_EUKREA_MBIMXSD25_BASEBOARD | ||
127 | bool "Eukrea MBIMXSD development board" | ||
128 | select IMX_HAVE_PLATFORM_IMX_SSI | ||
129 | help | ||
130 | This adds board specific devices that can be found on Eukrea's | ||
131 | MBIMXSD evaluation board. | ||
132 | |||
133 | endchoice | ||
134 | |||
135 | endif | ||
136 | |||
84 | if MACH_MX27 | 137 | if MACH_MX27 |
85 | 138 | ||
86 | comment "MX27 platforms:" | 139 | comment "MX27 platforms:" |
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index d099c4af0aec..77100bf26153 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile | |||
@@ -9,6 +9,8 @@ obj-$(CONFIG_IMX_HAVE_DMA_V1) += dma-v1.o | |||
9 | obj-$(CONFIG_ARCH_MX1) += clock-imx1.o mm-imx1.o | 9 | obj-$(CONFIG_ARCH_MX1) += clock-imx1.o mm-imx1.o |
10 | obj-$(CONFIG_MACH_MX21) += clock-imx21.o mm-imx21.o | 10 | obj-$(CONFIG_MACH_MX21) += clock-imx21.o mm-imx21.o |
11 | 11 | ||
12 | obj-$(CONFIG_ARCH_MX25) += clock-imx25.o mm-imx25.o | ||
13 | |||
12 | obj-$(CONFIG_MACH_MX27) += cpu-imx27.o pm-imx27.o | 14 | obj-$(CONFIG_MACH_MX27) += cpu-imx27.o pm-imx27.o |
13 | obj-$(CONFIG_MACH_MX27) += clock-imx27.o mm-imx27.o | 15 | obj-$(CONFIG_MACH_MX27) += clock-imx27.o mm-imx27.o |
14 | 16 | ||
@@ -20,6 +22,10 @@ obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o | |||
20 | 22 | ||
21 | obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o | 23 | obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o |
22 | 24 | ||
25 | obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o | ||
26 | obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-eukrea_cpuimx25.o | ||
27 | obj-$(CONFIG_MACH_EUKREA_MBIMXSD25_BASEBOARD) += eukrea_mbimxsd25-baseboard.o | ||
28 | |||
23 | obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o | 29 | obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o |
24 | obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o | 30 | obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o |
25 | obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o | 31 | obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o |
diff --git a/arch/arm/mach-imx/Makefile.boot b/arch/arm/mach-imx/Makefile.boot index 7988a85cf07d..3953d60bff0b 100644 --- a/arch/arm/mach-imx/Makefile.boot +++ b/arch/arm/mach-imx/Makefile.boot | |||
@@ -6,6 +6,10 @@ zreladdr-$(CONFIG_MACH_MX21) := 0xC0008000 | |||
6 | params_phys-$(CONFIG_MACH_MX21) := 0xC0000100 | 6 | params_phys-$(CONFIG_MACH_MX21) := 0xC0000100 |
7 | initrd_phys-$(CONFIG_MACH_MX21) := 0xC0800000 | 7 | initrd_phys-$(CONFIG_MACH_MX21) := 0xC0800000 |
8 | 8 | ||
9 | zreladdr-$(CONFIG_ARCH_MX25) := 0x80008000 | ||
10 | params_phys-$(CONFIG_ARCH_MX25) := 0x80000100 | ||
11 | initrd_phys-$(CONFIG_ARCH_MX25) := 0x80800000 | ||
12 | |||
9 | zreladdr-$(CONFIG_MACH_MX27) := 0xA0008000 | 13 | zreladdr-$(CONFIG_MACH_MX27) := 0xA0008000 |
10 | params_phys-$(CONFIG_MACH_MX27) := 0xA0000100 | 14 | params_phys-$(CONFIG_MACH_MX27) := 0xA0000100 |
11 | initrd_phys-$(CONFIG_MACH_MX27) := 0xA0800000 | 15 | initrd_phys-$(CONFIG_MACH_MX27) := 0xA0800000 |
diff --git a/arch/arm/mach-mx25/clock.c b/arch/arm/mach-imx/clock-imx25.c index 9e4a5578c2fb..9e4a5578c2fb 100644 --- a/arch/arm/mach-mx25/clock.c +++ b/arch/arm/mach-imx/clock-imx25.c | |||
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-imx/devices-imx25.h index 953e1ce5334f..953e1ce5334f 100644 --- a/arch/arm/mach-mx25/devices-imx25.h +++ b/arch/arm/mach-imx/devices-imx25.h | |||
diff --git a/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c index 75a5db568119..75a5db568119 100644 --- a/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c | |||
diff --git a/arch/arm/mach-mx25/mach-cpuimx25.c b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c index 67a7d55ad191..67a7d55ad191 100644 --- a/arch/arm/mach-mx25/mach-cpuimx25.c +++ b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c | |||
diff --git a/arch/arm/mach-mx25/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index 328e1af7940c..f07d3d754152 100644 --- a/arch/arm/mach-mx25/mach-mx25_3ds.c +++ b/arch/arm/mach-imx/mach-mx25_3ds.c | |||
@@ -105,7 +105,7 @@ static struct pad_desc mx25pdk_pads[] = { | |||
105 | }; | 105 | }; |
106 | 106 | ||
107 | static const struct fec_platform_data mx25_fec_pdata __initconst = { | 107 | static const struct fec_platform_data mx25_fec_pdata __initconst = { |
108 | .phy = PHY_INTERFACE_MODE_RMII, | 108 | .phy = PHY_INTERFACE_MODE_RMII, |
109 | }; | 109 | }; |
110 | 110 | ||
111 | #define FEC_ENABLE_GPIO 35 | 111 | #define FEC_ENABLE_GPIO 35 |
diff --git a/arch/arm/mach-mx25/mm.c b/arch/arm/mach-imx/mm-imx25.c index 2edec6ce8fe7..2edec6ce8fe7 100644 --- a/arch/arm/mach-mx25/mm.c +++ b/arch/arm/mach-imx/mm-imx25.c | |||
diff --git a/arch/arm/mach-mx25/Kconfig b/arch/arm/mach-mx25/Kconfig deleted file mode 100644 index a0b82190ac5d..000000000000 --- a/arch/arm/mach-mx25/Kconfig +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | if ARCH_MX25 | ||
2 | |||
3 | comment "MX25 platforms:" | ||
4 | |||
5 | config MACH_MX25_3DS | ||
6 | bool "Support MX25PDK (3DS) Platform" | ||
7 | select IMX_HAVE_PLATFORM_ESDHC | ||
8 | select IMX_HAVE_PLATFORM_IMX2_WDT | ||
9 | select IMX_HAVE_PLATFORM_IMXDI_RTC | ||
10 | select IMX_HAVE_PLATFORM_IMX_FB | ||
11 | select IMX_HAVE_PLATFORM_IMX_KEYPAD | ||
12 | select IMX_HAVE_PLATFORM_IMX_UART | ||
13 | select IMX_HAVE_PLATFORM_MXC_EHCI | ||
14 | select IMX_HAVE_PLATFORM_MXC_NAND | ||
15 | |||
16 | config MACH_EUKREA_CPUIMX25 | ||
17 | bool "Support Eukrea CPUIMX25 Platform" | ||
18 | select IMX_HAVE_PLATFORM_ESDHC | ||
19 | select IMX_HAVE_PLATFORM_FLEXCAN | ||
20 | select IMX_HAVE_PLATFORM_FSL_USB2_UDC | ||
21 | select IMX_HAVE_PLATFORM_IMXDI_RTC | ||
22 | select IMX_HAVE_PLATFORM_IMX_FB | ||
23 | select IMX_HAVE_PLATFORM_IMX_I2C | ||
24 | select IMX_HAVE_PLATFORM_IMX_UART | ||
25 | select IMX_HAVE_PLATFORM_MXC_EHCI | ||
26 | select IMX_HAVE_PLATFORM_MXC_NAND | ||
27 | select MXC_ULPI if USB_ULPI | ||
28 | |||
29 | choice | ||
30 | prompt "Baseboard" | ||
31 | depends on MACH_EUKREA_CPUIMX25 | ||
32 | default MACH_EUKREA_MBIMXSD25_BASEBOARD | ||
33 | |||
34 | config MACH_EUKREA_MBIMXSD25_BASEBOARD | ||
35 | bool "Eukrea MBIMXSD development board" | ||
36 | select IMX_HAVE_PLATFORM_IMX_SSI | ||
37 | help | ||
38 | This adds board specific devices that can be found on Eukrea's | ||
39 | MBIMXSD evaluation board. | ||
40 | |||
41 | endchoice | ||
42 | |||
43 | endif | ||
diff --git a/arch/arm/mach-mx25/Makefile b/arch/arm/mach-mx25/Makefile deleted file mode 100644 index f7f7648d2a55..000000000000 --- a/arch/arm/mach-mx25/Makefile +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | obj-y := mm.o | ||
2 | obj-$(CONFIG_ARCH_MX25) += clock.o | ||
3 | obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o | ||
4 | obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-cpuimx25.o | ||
5 | obj-$(CONFIG_MACH_EUKREA_MBIMXSD25_BASEBOARD) += eukrea_mbimxsd-baseboard.o | ||
diff --git a/arch/arm/mach-mx25/Makefile.boot b/arch/arm/mach-mx25/Makefile.boot deleted file mode 100644 index e1dd366f836b..000000000000 --- a/arch/arm/mach-mx25/Makefile.boot +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | zreladdr-y := 0x80008000 | ||
2 | params_phys-y := 0x80000100 | ||
3 | initrd_phys-y := 0x80800000 | ||
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index 64e3a64520e0..a31fa161bb6d 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig | |||
@@ -21,10 +21,6 @@ config ARCH_MX2 | |||
21 | 21 | ||
22 | config ARCH_MX25 | 22 | config ARCH_MX25 |
23 | bool "MX25-based" | 23 | bool "MX25-based" |
24 | select CPU_ARM926T | ||
25 | select ARCH_MXC_IOMUX_V3 | ||
26 | select HAVE_FB_IMX | ||
27 | select ARCH_MXC_AUDMUX_V2 | ||
28 | help | 24 | help |
29 | This enables support for systems based on the Freescale i.MX25 family | 25 | This enables support for systems based on the Freescale i.MX25 family |
30 | 26 | ||
@@ -51,7 +47,6 @@ endchoice | |||
51 | 47 | ||
52 | source "arch/arm/mach-imx/Kconfig" | 48 | source "arch/arm/mach-imx/Kconfig" |
53 | source "arch/arm/mach-mx3/Kconfig" | 49 | source "arch/arm/mach-mx3/Kconfig" |
54 | source "arch/arm/mach-mx25/Kconfig" | ||
55 | source "arch/arm/mach-mxc91231/Kconfig" | 50 | source "arch/arm/mach-mxc91231/Kconfig" |
56 | source "arch/arm/mach-mx5/Kconfig" | 51 | source "arch/arm/mach-mx5/Kconfig" |
57 | 52 | ||