diff options
author | Rich Felker <dalias@libc.org> | 2016-10-13 15:51:47 -0400 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2016-10-18 18:53:37 -0400 |
commit | db766b0a25c9520b7c585bcdb2725dcc0e490f4a (patch) | |
tree | 54c12953f29c6c74f819e1b89f43d26342d7cd4b | |
parent | f208b87b48d5af2ea483293eccb3998c467dfba1 (diff) |
sh: add Kconfig option for J-Core SoC core drivers
Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r-- | arch/sh/boards/Kconfig | 10 | ||||
-rw-r--r-- | arch/sh/configs/j2_defconfig | 1 |
2 files changed, 11 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 | |||
22 | have sufficient driver coverage to use this option; do not | 22 | have sufficient driver coverage to use this option; do not |
23 | select it if you are using original SuperH hardware. | 23 | select it if you are using original SuperH hardware. |
24 | 24 | ||
25 | config SH_JCORE_SOC | ||
26 | bool "J-Core SoC" | ||
27 | depends on SH_DEVICE_TREE && (CPU_SH2 || CPU_J2) | ||
28 | select CLKSRC_JCORE_PIT | ||
29 | select JCORE_AIC | ||
30 | default y if CPU_J2 | ||
31 | help | ||
32 | Select this option to include drivers core components of the | ||
33 | J-Core SoC, including interrupt controllers and timers. | ||
34 | |||
25 | config SH_SOLUTION_ENGINE | 35 | config SH_SOLUTION_ENGINE |
26 | bool "SolutionEngine" | 36 | bool "SolutionEngine" |
27 | select SOLUTION_ENGINE | 37 | select SOLUTION_ENGINE |
diff --git a/arch/sh/configs/j2_defconfig b/arch/sh/configs/j2_defconfig index 94d1eca52f72..530e66e163aa 100644 --- a/arch/sh/configs/j2_defconfig +++ b/arch/sh/configs/j2_defconfig | |||
@@ -8,6 +8,7 @@ CONFIG_MEMORY_START=0x10000000 | |||
8 | CONFIG_MEMORY_SIZE=0x04000000 | 8 | CONFIG_MEMORY_SIZE=0x04000000 |
9 | CONFIG_CPU_BIG_ENDIAN=y | 9 | CONFIG_CPU_BIG_ENDIAN=y |
10 | CONFIG_SH_DEVICE_TREE=y | 10 | CONFIG_SH_DEVICE_TREE=y |
11 | CONFIG_SH_JCORE_SOC=y | ||
11 | CONFIG_HZ_100=y | 12 | CONFIG_HZ_100=y |
12 | CONFIG_CMDLINE_OVERWRITE=y | 13 | CONFIG_CMDLINE_OVERWRITE=y |
13 | CONFIG_CMDLINE="console=ttyUL0 earlycon" | 14 | CONFIG_CMDLINE="console=ttyUL0 earlycon" |