Skip to content

Commit dcfbe02

Browse files
glneoarndb
authored andcommitted
ARM: mach-moxart: Move MOXA ART support into Kconfig.platforms
This removes the need for a dedicated Kconfig and empty mach directory. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 9391174 commit dcfbe02

6 files changed

Lines changed: 28 additions & 41 deletions

File tree

arch/arm/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,6 @@ source "arch/arm/mach-milbeaut/Kconfig"
412412

413413
source "arch/arm/mach-mmp/Kconfig"
414414

415-
source "arch/arm/mach-moxart/Kconfig"
416-
417415
source "arch/arm/mach-mstar/Kconfig"
418416

419417
source "arch/arm/mach-mv78xx0/Kconfig"

arch/arm/Kconfig.platforms

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,34 @@ config MACH_ASM9260
7676
help
7777
Support for Alphascale ASM9260 based platform.
7878

79+
menuconfig ARCH_MOXART
80+
bool "MOXA ART SoC"
81+
depends on ARCH_MULTI_V4
82+
depends on CPU_LITTLE_ENDIAN
83+
select CPU_FA526
84+
select ARM_DMA_MEM_BUFFERABLE
85+
select FARADAY_FTINTC010
86+
select FTTMR010_TIMER
87+
select GPIOLIB
88+
select PHYLIB if NETDEVICES
89+
help
90+
Say Y here if you want to run your kernel on hardware with a
91+
MOXA ART SoC.
92+
The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit
93+
192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX).
94+
Used on models UC-7101, UC-7112/UC-7110, IA240/IA241, IA3341.
95+
96+
if ARCH_MOXART
97+
98+
config MACH_UC7112LX
99+
bool "MOXA UC-7112-LX"
100+
depends on ARCH_MOXART
101+
help
102+
Say Y here if you intend to run this kernel on a MOXA
103+
UC-7112-LX embedded computer.
104+
105+
endif
106+
79107
config ARCH_RDA
80108
bool "RDA Micro SoCs"
81109
depends on ARCH_MULTI_V7

arch/arm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ machine-$(CONFIG_ARCH_LPC18XX) += lpc18xx
192192
machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx
193193
machine-$(CONFIG_ARCH_MESON) += meson
194194
machine-$(CONFIG_ARCH_MMP) += mmp
195-
machine-$(CONFIG_ARCH_MOXART) += moxart
196195
machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0
197196
machine-$(CONFIG_ARCH_MVEBU) += mvebu
198197
machine-$(CONFIG_ARCH_MXC) += imx

arch/arm/mach-moxart/Kconfig

Lines changed: 0 additions & 28 deletions
This file was deleted.

arch/arm/mach-moxart/Makefile

Lines changed: 0 additions & 4 deletions
This file was deleted.

arch/arm/mach-moxart/moxart.c

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)