Skip to content

Commit 671c08e

Browse files
glneoarndb
authored andcommitted
ARM: mach-nspire: Rework support and directory structure
Having a platform need a mach-* directory should be seen as a negative, it means the platform needs special non-standard handling. ARM64 support does not allow mach-* directories at all. While we may not get to that given all the non-standard architectures we support, we should still try to get as close as we can and reduce the number of mach directories. The mach-nspire/ directory and files, provides just one "feature": having the kernel print the machine name if the DTB does not also contain a "model" string (which they always do). To reduce the number of mach-* directories let's do without that feature and remove this directory. NOTE: The default l2c_aux_mask is now ~0 but these devices never have this type of cache controller so this is safe. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent ae73dad commit 671c08e

6 files changed

Lines changed: 15 additions & 38 deletions

File tree

arch/arm/Kconfig

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

414414
source "arch/arm/mach-npcm/Kconfig"
415415

416-
source "arch/arm/mach-nspire/Kconfig"
417-
418416
source "arch/arm/mach-omap1/Kconfig"
419417

420418
source "arch/arm/mach-omap2/Kconfig"

arch/arm/Kconfig.platforms

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,21 @@ config MACH_UC7112LX
115115

116116
endif
117117

118+
config ARCH_NSPIRE
119+
bool "TI-NSPIRE based"
120+
depends on ARCH_MULTI_V4T
121+
depends on CPU_LITTLE_ENDIAN
122+
select CPU_ARM926T
123+
select GENERIC_IRQ_CHIP
124+
select ARM_AMBA
125+
select ARM_VIC
126+
select ARM_TIMER_SP804
127+
select NSPIRE_TIMER
128+
select POWER_RESET
129+
select POWER_RESET_SYSCON
130+
help
131+
This enables support for systems using the TI-NSPIRE CPU
132+
118133
config ARCH_RDA
119134
bool "RDA Micro SoCs"
120135
depends on ARCH_MULTI_V7

arch/arm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ machine-$(CONFIG_ARCH_MXS) += mxs
200200
machine-$(CONFIG_ARCH_MSTARV7) += mstar
201201
machine-$(CONFIG_ARCH_NOMADIK) += nomadik
202202
machine-$(CONFIG_ARCH_NPCM) += npcm
203-
machine-$(CONFIG_ARCH_NSPIRE) += nspire
204203
machine-$(CONFIG_ARCH_OMAP1) += omap1
205204
machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
206205
machine-$(CONFIG_ARCH_ORION5X) += orion5x

arch/arm/mach-nspire/Kconfig

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

arch/arm/mach-nspire/Makefile

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

arch/arm/mach-nspire/nspire.c

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

0 commit comments

Comments
 (0)