[RFC 12/27] soc: sifive: convert SOC_SIFIVE to ARCH_SIFIVE

Conor Dooley conor at kernel.org
Fri Sep 23 11:55:51 PDT 2022


From: Conor Dooley <conor.dooley at microchip.com>

As discussed at LPC, the SOC_ symbols in arch/riscv are being converted
to ARCH_, so SOC_SIFIVE becomes ARCH_SIFIVE. As the entirety of the
SiFive subdirectory is gated by "if ARCH_SIFIVE" in its Kconfig, the
sub-Makefile can always be included.

Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
---
 drivers/soc/Makefile       | 2 +-
 drivers/soc/sifive/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
index 69ba6508cf2c..534669840858 100644
--- a/drivers/soc/Makefile
+++ b/drivers/soc/Makefile
@@ -26,7 +26,7 @@ obj-y				+= qcom/
 obj-y				+= renesas/
 obj-y				+= rockchip/
 obj-$(CONFIG_SOC_SAMSUNG)	+= samsung/
-obj-$(CONFIG_SOC_SIFIVE)	+= sifive/
+obj-y				+= sifive/
 obj-y				+= sunxi/
 obj-$(CONFIG_ARCH_TEGRA)	+= tegra/
 obj-y				+= ti/
diff --git a/drivers/soc/sifive/Kconfig b/drivers/soc/sifive/Kconfig
index 58cf8c40d08d..9f52227c3cce 100644
--- a/drivers/soc/sifive/Kconfig
+++ b/drivers/soc/sifive/Kconfig
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 
-if SOC_SIFIVE
+if ARCH_SIFIVE
 
 config SIFIVE_L2
 	bool "Sifive L2 Cache controller"
-- 
2.37.3




More information about the linux-riscv mailing list