diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-15 03:42:59 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-24 04:07:08 -0500 |
commit | 5e2e95f520538e095d10456acd28d9107317aa32 (patch) | |
tree | 6e583d8b43ec913ae78075a9479a14a7435db9f1 /arch/arm/plat-mxc | |
parent | 8735fde2d0c42ae914d3e68d967612ff417f463c (diff) |
arm/imx/iomux-v1: rename source file and reorganize Kconfig stuff
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/plat-mxc/Makefile | 7 | ||||
-rw-r--r-- | arch/arm/plat-mxc/iomux-v1.c (renamed from arch/arm/plat-mxc/iomux-mx1-mx2.c) | 11 |
3 files changed, 14 insertions, 9 deletions
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index 9c8d4e70c176..6debae2c798d 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig | |||
@@ -9,12 +9,14 @@ choice | |||
9 | config ARCH_MX1 | 9 | config ARCH_MX1 |
10 | bool "MX1-based" | 10 | bool "MX1-based" |
11 | select CPU_ARM920T | 11 | select CPU_ARM920T |
12 | select IMX_HAVE_IOMUX_V1 | ||
12 | help | 13 | help |
13 | This enables support for systems based on the Freescale i.MX1 family | 14 | This enables support for systems based on the Freescale i.MX1 family |
14 | 15 | ||
15 | config ARCH_MX2 | 16 | config ARCH_MX2 |
16 | bool "MX2-based" | 17 | bool "MX2-based" |
17 | select CPU_ARM926T | 18 | select CPU_ARM926T |
19 | select IMX_HAVE_IOMUX_V1 | ||
18 | help | 20 | help |
19 | This enables support for systems based on the Freescale i.MX2 family | 21 | This enables support for systems based on the Freescale i.MX2 family |
20 | 22 | ||
@@ -68,6 +70,9 @@ config MXC_ULPI | |||
68 | config ARCH_HAS_RNGA | 70 | config ARCH_HAS_RNGA |
69 | bool | 71 | bool |
70 | 72 | ||
73 | config IMX_HAVE_IOMUX_V1 | ||
74 | bool | ||
75 | |||
71 | config ARCH_MXC_IOMUX_V3 | 76 | config ARCH_MXC_IOMUX_V3 |
72 | bool | 77 | bool |
73 | 78 | ||
diff --git a/arch/arm/plat-mxc/Makefile b/arch/arm/plat-mxc/Makefile index 4074c1847b43..41d31762bca4 100644 --- a/arch/arm/plat-mxc/Makefile +++ b/arch/arm/plat-mxc/Makefile | |||
@@ -5,9 +5,10 @@ | |||
5 | # Common support | 5 | # Common support |
6 | obj-y := irq.o clock.o gpio.o time.o devices.o cpu.o system.o | 6 | obj-y := irq.o clock.o gpio.o time.o devices.o cpu.o system.o |
7 | 7 | ||
8 | obj-$(CONFIG_ARCH_MX1) += iomux-mx1-mx2.o dma-mx1-mx2.o | 8 | obj-$(CONFIG_ARCH_MX1) += dma-mx1-mx2.o |
9 | obj-$(CONFIG_ARCH_MX2) += iomux-mx1-mx2.o dma-mx1-mx2.o | 9 | obj-$(CONFIG_ARCH_MX2) += dma-mx1-mx2.o |
10 | CFLAGS_iomux-mx1-mx2.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS | 10 | obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o |
11 | CFLAGS_iomux-v1.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS | ||
11 | obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o | 12 | obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o |
12 | obj-$(CONFIG_MXC_PWM) += pwm.o | 13 | obj-$(CONFIG_MXC_PWM) += pwm.o |
13 | obj-$(CONFIG_USB_EHCI_MXC) += ehci.o | 14 | obj-$(CONFIG_USB_EHCI_MXC) += ehci.o |
diff --git a/arch/arm/plat-mxc/iomux-mx1-mx2.c b/arch/arm/plat-mxc/iomux-v1.c index a37163ce280b..0b745686b378 100644 --- a/arch/arm/plat-mxc/iomux-mx1-mx2.c +++ b/arch/arm/plat-mxc/iomux-v1.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-mxc/generic.c | 2 | * arch/arm/plat-mxc/iomux-v1.c |
3 | * | 3 | * |
4 | * author: Sascha Hauer | 4 | * author: Sascha Hauer |
5 | * Created: april 20th, 2004 | 5 | * Created: april 20th, 2004 |
6 | * Copyright: Synertronixx GmbH | 6 | * Copyright: Synertronixx GmbH |
7 | * | 7 | * |
8 | * Common code for i.MX machines | 8 | * Common code for i.MX1, i.MX21 and i.MX27 |
9 | * | 9 | * |
10 | * This program is free software; you can redistribute it and/or modify | 10 | * This program is free software; you can redistribute it and/or modify |
11 | * it under the terms of the GNU General Public License as published by | 11 | * it under the terms of the GNU General Public License as published by |
@@ -154,4 +154,3 @@ void mxc_gpio_release_multiple_pins(const int *pin_list, int count) | |||
154 | 154 | ||
155 | } | 155 | } |
156 | EXPORT_SYMBOL(mxc_gpio_release_multiple_pins); | 156 | EXPORT_SYMBOL(mxc_gpio_release_multiple_pins); |
157 | |||