summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740/Kconfig
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-05-24 16:11:13 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-06-21 21:52:47 +0200
commitde361e8bb9f666235d44ae9770238718be4f0483 (patch)
tree46339a948d7bc6509fce5408c7424c8d481e8965 /arch/mips/jz4740/Kconfig
parent2d06fe53e76a096af06a964c7893a7b14248961c (diff)
downloadlwn-de361e8bb9f666235d44ae9770238718be4f0483.tar.gz
lwn-de361e8bb9f666235d44ae9770238718be4f0483.zip
MIPS: JZ4740: introduce CONFIG_MACH_INGENIC
In preparation for supporting Ingenic SoCs other than the JZ4740, introduce MACH_INGENIC to Kconfig & move MACH_JZ4740 to a separate entry selected by the board when appropriate. This allows MACH_INGENIC to be used to enable things generic across Ingenic SoCs. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: Andrew Bresticker <abrestic@chromium.org> Patchwork: https://patchwork.linux-mips.org/patch/10130/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jz4740/Kconfig')
-rw-r--r--arch/mips/jz4740/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig
index 468903053883..dff0966284c4 100644
--- a/arch/mips/jz4740/Kconfig
+++ b/arch/mips/jz4740/Kconfig
@@ -1,9 +1,14 @@
choice
prompt "Machine type"
- depends on MACH_JZ4740
+ depends on MACH_INGENIC
default JZ4740_QI_LB60
config JZ4740_QI_LB60
bool "Qi Hardware Ben NanoNote"
+ select MACH_JZ4740
endchoice
+
+config MACH_JZ4740
+ bool
+ select SYS_HAS_CPU_MIPS32_R1