aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-11 12:06:17 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-19 15:53:49 -0500
commite48ab1c16ff2af83e6a2a1228504710a5d339d08 (patch)
tree6f8b911583ecb48ca18a2c724bb99d3d9ab10815 /arch/arm
parent2a8bd56a382ec0e24249b1adaca4f38bd529e825 (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/Makefile2
-rw-r--r--arch/arm/mach-imx/Kconfig85
-rw-r--r--arch/arm/mach-imx/Makefile6
-rw-r--r--arch/arm/mach-imx/Makefile.boot4
-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/Kconfig43
-rw-r--r--arch/arm/mach-mx25/Makefile5
-rw-r--r--arch/arm/mach-mx25/Makefile.boot3
-rw-r--r--arch/arm/plat-mxc/Kconfig5
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
154machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 154machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0
155machine-$(CONFIG_ARCH_MX1) := imx 155machine-$(CONFIG_ARCH_MX1) := imx
156machine-$(CONFIG_ARCH_MX2) := imx 156machine-$(CONFIG_ARCH_MX2) := imx
157machine-$(CONFIG_ARCH_MX25) := mx25 157machine-$(CONFIG_ARCH_MX25) := imx
158machine-$(CONFIG_ARCH_MX3) := mx3 158machine-$(CONFIG_ARCH_MX3) := mx3
159machine-$(CONFIG_ARCH_MX5) := mx5 159machine-$(CONFIG_ARCH_MX5) := mx5
160machine-$(CONFIG_ARCH_MXC91231) := mxc91231 160machine-$(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 @@
1config IMX_HAVE_DMA_V1 1config IMX_HAVE_DMA_V1
2 bool 2 bool
3 3
4if ARCH_MX1
5
6config SOC_IMX1 4config 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
10config 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
17config 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
24config 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
31if ARCH_MX1
11 32
12comment "MX1 platforms:" 33comment "MX1 platforms:"
13config MACH_MXLADS 34config MACH_MXLADS
@@ -31,20 +52,6 @@ endif
31 52
32if ARCH_MX2 53if ARCH_MX2
33 54
34config 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
41config 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
48choice 55choice
49 prompt "CPUs:" 56 prompt "CPUs:"
50 default MACH_MX21 57 default MACH_MX21
@@ -81,6 +88,52 @@ config MACH_MX21ADS
81 88
82endif 89endif
83 90
91if ARCH_MX25
92
93comment "MX25 platforms:"
94
95config 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
107config 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
121choice
122 prompt "Baseboard"
123 depends on MACH_EUKREA_CPUIMX25
124 default MACH_EUKREA_MBIMXSD25_BASEBOARD
125
126config 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
133endchoice
134
135endif
136
84if MACH_MX27 137if MACH_MX27
85 138
86comment "MX27 platforms:" 139comment "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
9obj-$(CONFIG_ARCH_MX1) += clock-imx1.o mm-imx1.o 9obj-$(CONFIG_ARCH_MX1) += clock-imx1.o mm-imx1.o
10obj-$(CONFIG_MACH_MX21) += clock-imx21.o mm-imx21.o 10obj-$(CONFIG_MACH_MX21) += clock-imx21.o mm-imx21.o
11 11
12obj-$(CONFIG_ARCH_MX25) += clock-imx25.o mm-imx25.o
13
12obj-$(CONFIG_MACH_MX27) += cpu-imx27.o pm-imx27.o 14obj-$(CONFIG_MACH_MX27) += cpu-imx27.o pm-imx27.o
13obj-$(CONFIG_MACH_MX27) += clock-imx27.o mm-imx27.o 15obj-$(CONFIG_MACH_MX27) += clock-imx27.o mm-imx27.o
14 16
@@ -20,6 +22,10 @@ obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
20 22
21obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o 23obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
22 24
25obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o
26obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-eukrea_cpuimx25.o
27obj-$(CONFIG_MACH_EUKREA_MBIMXSD25_BASEBOARD) += eukrea_mbimxsd25-baseboard.o
28
23obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o 29obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
24obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o 30obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
25obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o 31obj-$(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
6params_phys-$(CONFIG_MACH_MX21) := 0xC0000100 6params_phys-$(CONFIG_MACH_MX21) := 0xC0000100
7initrd_phys-$(CONFIG_MACH_MX21) := 0xC0800000 7initrd_phys-$(CONFIG_MACH_MX21) := 0xC0800000
8 8
9zreladdr-$(CONFIG_ARCH_MX25) := 0x80008000
10params_phys-$(CONFIG_ARCH_MX25) := 0x80000100
11initrd_phys-$(CONFIG_ARCH_MX25) := 0x80800000
12
9zreladdr-$(CONFIG_MACH_MX27) := 0xA0008000 13zreladdr-$(CONFIG_MACH_MX27) := 0xA0008000
10params_phys-$(CONFIG_MACH_MX27) := 0xA0000100 14params_phys-$(CONFIG_MACH_MX27) := 0xA0000100
11initrd_phys-$(CONFIG_MACH_MX27) := 0xA0800000 15initrd_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
107static const struct fec_platform_data mx25_fec_pdata __initconst = { 107static 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 @@
1if ARCH_MX25
2
3comment "MX25 platforms:"
4
5config 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
16config 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
29choice
30 prompt "Baseboard"
31 depends on MACH_EUKREA_CPUIMX25
32 default MACH_EUKREA_MBIMXSD25_BASEBOARD
33
34config 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
41endchoice
42
43endif
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 @@
1obj-y := mm.o
2obj-$(CONFIG_ARCH_MX25) += clock.o
3obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o
4obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-cpuimx25.o
5obj-$(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
2params_phys-y := 0x80000100
3initrd_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
22config ARCH_MX25 22config 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
52source "arch/arm/mach-imx/Kconfig" 48source "arch/arm/mach-imx/Kconfig"
53source "arch/arm/mach-mx3/Kconfig" 49source "arch/arm/mach-mx3/Kconfig"
54source "arch/arm/mach-mx25/Kconfig"
55source "arch/arm/mach-mxc91231/Kconfig" 50source "arch/arm/mach-mxc91231/Kconfig"
56source "arch/arm/mach-mx5/Kconfig" 51source "arch/arm/mach-mx5/Kconfig"
57 52