summaryrefslogtreecommitdiffstats
path: root/drivers/soc/canaan/Kconfig
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-12-13 14:50:38 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-01-15 00:08:46 +0100
commit08734e0581a54df77f1af354b93b02ac581e4fbb (patch)
tree844a6623d2e3bb7921ebdce62c30b010bbf147dc /drivers/soc/canaan/Kconfig
parentriscv: Fix builtin DTB handling (diff)
downloadlinux-08734e0581a54df77f1af354b93b02ac581e4fbb.tar.xz
linux-08734e0581a54df77f1af354b93b02ac581e4fbb.zip
riscv: Use vendor name for K210 SoC support
Rename configuration options and directories related to the Kendryte K210 SoC to use the SoC vendor name (canaan) instead of the "kendryte" branding name. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/soc/canaan/Kconfig')
-rw-r--r--drivers/soc/canaan/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/soc/canaan/Kconfig b/drivers/soc/canaan/Kconfig
new file mode 100644
index 000000000000..5232d13f07e5
--- /dev/null
+++ b/drivers/soc/canaan/Kconfig
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0
+
+if SOC_CANAAN
+
+config K210_SYSCTL
+ bool "Canaan Kendryte K210 SoC system controller"
+ default y
+ depends on RISCV
+ help
+ Enables controlling the K210 various clocks and to enable
+ general purpose use of the extra 2MB of SRAM normally
+ reserved for the AI engine.
+
+endif