arm/imx/iomux-v1: rename source file and reorganize Kconfig stuff
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
parent
8735fde2d0
commit
5e2e95f520
3 changed files with 14 additions and 9 deletions
|
@ -9,12 +9,14 @@ choice
|
||||||
config ARCH_MX1
|
config ARCH_MX1
|
||||||
bool "MX1-based"
|
bool "MX1-based"
|
||||||
select CPU_ARM920T
|
select CPU_ARM920T
|
||||||
|
select IMX_HAVE_IOMUX_V1
|
||||||
help
|
help
|
||||||
This enables support for systems based on the Freescale i.MX1 family
|
This enables support for systems based on the Freescale i.MX1 family
|
||||||
|
|
||||||
config ARCH_MX2
|
config ARCH_MX2
|
||||||
bool "MX2-based"
|
bool "MX2-based"
|
||||||
select CPU_ARM926T
|
select CPU_ARM926T
|
||||||
|
select IMX_HAVE_IOMUX_V1
|
||||||
help
|
help
|
||||||
This enables support for systems based on the Freescale i.MX2 family
|
This enables support for systems based on the Freescale i.MX2 family
|
||||||
|
|
||||||
|
@ -68,6 +70,9 @@ config MXC_ULPI
|
||||||
config ARCH_HAS_RNGA
|
config ARCH_HAS_RNGA
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config IMX_HAVE_IOMUX_V1
|
||||||
|
bool
|
||||||
|
|
||||||
config ARCH_MXC_IOMUX_V3
|
config ARCH_MXC_IOMUX_V3
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
# Common support
|
# Common support
|
||||||
obj-y := irq.o clock.o gpio.o time.o devices.o cpu.o system.o
|
obj-y := irq.o clock.o gpio.o time.o devices.o cpu.o system.o
|
||||||
|
|
||||||
obj-$(CONFIG_ARCH_MX1) += iomux-mx1-mx2.o dma-mx1-mx2.o
|
obj-$(CONFIG_ARCH_MX1) += dma-mx1-mx2.o
|
||||||
obj-$(CONFIG_ARCH_MX2) += iomux-mx1-mx2.o dma-mx1-mx2.o
|
obj-$(CONFIG_ARCH_MX2) += dma-mx1-mx2.o
|
||||||
CFLAGS_iomux-mx1-mx2.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
|
||||||
|
CFLAGS_iomux-v1.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
||||||
obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
|
obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
|
||||||
obj-$(CONFIG_MXC_PWM) += pwm.o
|
obj-$(CONFIG_MXC_PWM) += pwm.o
|
||||||
obj-$(CONFIG_USB_EHCI_MXC) += ehci.o
|
obj-$(CONFIG_USB_EHCI_MXC) += ehci.o
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* arch/arm/mach-mxc/generic.c
|
* arch/arm/plat-mxc/iomux-v1.c
|
||||||
*
|
*
|
||||||
* author: Sascha Hauer
|
* author: Sascha Hauer
|
||||||
* Created: april 20th, 2004
|
* Created: april 20th, 2004
|
||||||
* Copyright: Synertronixx GmbH
|
* Copyright: Synertronixx GmbH
|
||||||
*
|
*
|
||||||
* Common code for i.MX machines
|
* Common code for i.MX1, i.MX21 and i.MX27
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* 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)
|
||||||
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(mxc_gpio_release_multiple_pins);
|
EXPORT_SYMBOL(mxc_gpio_release_multiple_pins);
|
||||||
|
|
Loading…
Add table
Reference in a new issue