summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-10-13 21:51:47 +0200
committerRich Felker <dalias@libc.org>2016-10-19 00:53:37 +0200
commitdb766b0a25c9520b7c585bcdb2725dcc0e490f4a (patch)
tree54c12953f29c6c74f819e1b89f43d26342d7cd4b /arch/sh/boards
parentsh: support CPU_J2 when compiler lacks -mj2 (diff)
downloadlinux-db766b0a25c9520b7c585bcdb2725dcc0e490f4a.tar.xz
linux-db766b0a25c9520b7c585bcdb2725dcc0e490f4a.zip
sh: add Kconfig option for J-Core SoC core drivers
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index e9c2c42031fe..4e21949593cf 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -22,6 +22,16 @@ config SH_DEVICE_TREE
have sufficient driver coverage to use this option; do not
select it if you are using original SuperH hardware.
+config SH_JCORE_SOC
+ bool "J-Core SoC"
+ depends on SH_DEVICE_TREE && (CPU_SH2 || CPU_J2)
+ select CLKSRC_JCORE_PIT
+ select JCORE_AIC
+ default y if CPU_J2
+ help
+ Select this option to include drivers core components of the
+ J-Core SoC, including interrupt controllers and timers.
+
config SH_SOLUTION_ENGINE
bool "SolutionEngine"
select SOLUTION_ENGINE