Skip to content

Commit

Permalink
ARM: mxs: enable multiplatform build
Browse files Browse the repository at this point in the history
Remove files that are not needed by multiplatform build, and make
necessary changes on Kconfig to enable multiplatform build.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Shawn Guo committed Apr 4, 2013
1 parent e91411b commit d696e3f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 127 deletions.
17 changes: 0 additions & 17 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -468,23 +468,6 @@ config ARCH_FOOTBRIDGE
Support for systems based on the DC21285 companion chip
("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.

config ARCH_MXS
bool "Freescale MXS-based"
select ARCH_REQUIRE_GPIOLIB
select CLKDEV_LOOKUP
select CLKSRC_MMIO
select CLKSRC_OF
select COMMON_CLK
select GENERIC_CLOCKEVENTS
select HAVE_CLK_PREPARE
select MULTI_IRQ_HANDLER
select PINCTRL
select SPARSE_IRQ
select STMP_DEVICE
select USE_OF
help
Support for Freescale MXS-based family of processors

config ARCH_NETX
bool "Hilscher NetX based"
select ARM_VIC
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/configs/mxs_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ CONFIG_MODVERSIONS=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_MXS=y
CONFIG_MACH_MXS_DT=y
# CONFIG_ARM_THUMB is not set
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_AEABI=y
Expand Down
22 changes: 12 additions & 10 deletions arch/arm/mach-mxs/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
if ARCH_MXS

config SOC_IMX23
bool
select ARM_AMBA
Expand All @@ -15,14 +13,18 @@ config SOC_IMX28
select HAVE_PWM
select PINCTRL_IMX28

comment "MXS platforms:"

config MACH_MXS_DT
bool "Support MXS platforms from device tree"
config ARCH_MXS
bool "Freescale MXS (i.MX23, i.MX28) support"
depends on ARCH_MULTI_V5
select ARCH_REQUIRE_GPIOLIB
select CLKDEV_LOOKUP
select CLKSRC_MMIO
select CLKSRC_OF
select GENERIC_CLOCKEVENTS
select HAVE_CLK_PREPARE
select PINCTRL
select SOC_IMX23
select SOC_IMX28
select STMP_DEVICE
help
Include support for Freescale MXS platforms(i.MX23 and i.MX28)
using the device tree for discovery

endif
Support for Freescale MXS-based family of processors
2 changes: 1 addition & 1 deletion arch/arm/mach-mxs/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
obj-$(CONFIG_PM) += pm.o
obj-$(CONFIG_MACH_MXS_DT) += mach-mxs.o
obj-$(CONFIG_ARCH_MXS) += mach-mxs.o
1 change: 0 additions & 1 deletion arch/arm/mach-mxs/Makefile.boot

This file was deleted.

21 changes: 0 additions & 21 deletions arch/arm/mach-mxs/include/mach/timex.h

This file was deleted.

76 changes: 0 additions & 76 deletions arch/arm/mach-mxs/include/mach/uncompress.h

This file was deleted.

0 comments on commit d696e3f

Please sign in to comment.