summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig.socs
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-11-20 21:17:06 +0000
committerConor Dooley <conor.dooley@microchip.com>2022-12-27 18:01:40 +0000
commitfc43211939bb68741d609cd6e7034f01d5d1734b (patch)
tree77c58971fc60224557ea5fddfe627f2dedb20c90 /arch/riscv/Kconfig.socs
parent444c3dbdabd468196bd55712863f7e125909008f (diff)
downloadlinux-stable-fc43211939bb68741d609cd6e7034f01d5d1734b.tar.gz
linux-stable-fc43211939bb68741d609cd6e7034f01d5d1734b.tar.bz2
linux-stable-fc43211939bb68741d609cd6e7034f01d5d1734b.zip
RISC-V: kconfig.socs: convert usage of SOC_CANAAN to ARCH_CANAAN
While we cannot yet drop the SOC_ prefixed symbols, we can convert uses of these symbols within Kconfig.socs to the ARCH_ variants. Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'arch/riscv/Kconfig.socs')
-rw-r--r--arch/riscv/Kconfig.socs10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 665f3455ab47..ce920f627f6d 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -70,14 +70,14 @@ config SOC_CANAAN
help
This enables support for Canaan Kendryte K210 SoC platform hardware.
-if SOC_CANAAN
+if ARCH_CANAAN
config ARCH_CANAAN_K210_DTB_BUILTIN
def_bool SOC_CANAAN_K210_DTB_BUILTIN
config SOC_CANAAN_K210_DTB_BUILTIN
bool "Builtin device tree for the Canaan Kendryte K210"
- depends on SOC_CANAAN
+ depends on ARCH_CANAAN
default y
select OF
select BUILTIN_DTB
@@ -91,14 +91,14 @@ config ARCH_CANAAN_K210_DTB_SOURCE
config SOC_CANAAN_K210_DTB_SOURCE
string "Source file for the Canaan Kendryte K210 builtin DTB"
- depends on SOC_CANAAN
- depends on SOC_CANAAN_K210_DTB_BUILTIN
+ depends on ARCH_CANAAN
+ depends on ARCH_CANAAN_K210_DTB_BUILTIN
default "k210_generic"
help
Base name (without suffix, relative to arch/riscv/boot/dts/canaan)
for the DTS file that will be used to produce the DTB linked into the
kernel.
-endif # SOC_CANAAN
+endif # ARCH_CANAAN
endmenu # "SoC selection"