Skip to contentSkip to conversation

RISC-V: drop SOC_MICROCHIP_POLARFIRE for ARCH_MICROCHIP

PATCH Applied Conor Dooley 2 participants 3 messages Mar 5, 2024 – Apr 10, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RISC-V: drop SOC_MICROCHIP_POLARFIRE for ARCH_MICROCHIP

From: Conor Dooley <[email protected]>

SOC_MICROCHIP_POLARFIRE doesn't have any remaining in-kernel users, so time has come to remove it. Foolish auld me left the "POLARFIRE" in the new, hidden, config option when I renamed it and changed all of the users however. As HPSC has been announced, and is not a PolarFire, drop mention of that specific FPGA family from the new user-visible config option.

---
CC: Paul Walmsley <[email protected]>
CC: Palmer Dabbelt <[email protected]>
CC: Conor Dooley <[email protected]>
CC: [email protected]

---
 arch/riscv/Kconfig.socs      | 8 ++++----
 arch/riscv/configs/defconfig | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
arch/riscv/Kconfig.socs +4 -4
index e08e91c49abe..5fd2e9f425d1 100644
@@ -1,12 +1,12 @@
 menu "SoC selection"
 
 config ARCH_MICROCHIP_POLARFIRE
-	def_bool SOC_MICROCHIP_POLARFIRE
+	def_bool ARCH_MICROCHIP
 
-config SOC_MICROCHIP_POLARFIRE
-	bool "Microchip PolarFire SoCs"
+config ARCH_MICROCHIP
+	bool "Microchip SoCs"
 	help
-	  This enables support for Microchip PolarFire SoC platforms.
+	  This enables support for Microchip SoC platforms.
 
 config ARCH_RENESAS
 	bool "Renesas RISC-V SoCs"
arch/riscv/configs/defconfig +1 -1
index 89a009a580fe..5cfc0338ad5c 100644
@@ -25,7 +25,7 @@ CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
 # CONFIG_SYSFS_SYSCALL is not set
 CONFIG_PROFILING=y
-CONFIG_SOC_MICROCHIP_POLARFIRE=y
+CONFIG_ARCH_MICROCHIP=y
 CONFIG_ARCH_RENESAS=y
 CONFIG_SOC_SIFIVE=y
 CONFIG_ARCH_SOPHGO=y
Signature · 7 lines
2.43.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 46 lines · Conor Dooley

From: Conor Dooley <[email protected]>

SOC_MICROCHIP_POLARFIRE doesn't have any remaining in-kernel users, so time has come to remove it. Foolish auld me left the "POLARFIRE" in the new, hidden, config option when I renamed it and changed all of the users however. As HPSC has been announced, and is not a PolarFire, drop mention of that specific FPGA family from the new user-visible config option.

---
CC: Paul Walmsley <[email protected]>
CC: Palmer Dabbelt <[email protected]>
CC: Conor Dooley <[email protected]>
CC: [email protected]

---
 arch/riscv/Kconfig.socs      | 8 ++++----
 arch/riscv/configs/defconfig | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
arch/riscv/Kconfig.socs +4 -4
index e08e91c49abe..5fd2e9f425d1 100644
@@ -1,12 +1,12 @@
 menu "SoC selection"
 
 config ARCH_MICROCHIP_POLARFIRE
-	def_bool SOC_MICROCHIP_POLARFIRE
+	def_bool ARCH_MICROCHIP
 
-config SOC_MICROCHIP_POLARFIRE
-	bool "Microchip PolarFire SoCs"
+config ARCH_MICROCHIP
+	bool "Microchip SoCs"
 	help
-	  This enables support for Microchip PolarFire SoC platforms.
+	  This enables support for Microchip SoC platforms.
 
 config ARCH_RENESAS
 	bool "Renesas RISC-V SoCs"
arch/riscv/configs/defconfig +0 -0
index 89a009a580fe..5cfc0338ad5c 100644

arch/riscv/configs/defconfig CONFIG_BLK_DEV_INITRD=y · line 31

Quoted 8 lines
arch/riscv/configs/defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
 # CONFIG_SYSFS_SYSCALL is not set
 CONFIG_PROFILING=y
-CONFIG_SOC_MICROCHIP_POLARFIRE=y
+CONFIG_ARCH_MICROCHIP=y
 CONFIG_ARCH_RENESAS=y
 CONFIG_SOC_SIFIVE=y
 CONFIG_ARCH_SOPHGO=y

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

author Applied
#2 lore raw
In reply to Conor Dooley

From: Conor Dooley <[email protected]>

Quoted 8 lines · Conor Dooley

SOC_MICROCHIP_POLARFIRE doesn't have any remaining in-kernel users, so time has come to remove it. Foolish auld me left the "POLARFIRE" in the new, hidden, config option when I renamed it and changed all of the users however. As HPSC has been announced, and is not a PolarFire, drop mention of that specific FPGA family from the new user-visible config option.

[...]

Applied to riscv-soc-for-next, thanks!

[1/1] RISC-V: drop SOC_MICROCHIP_POLARFIRE for ARCH_MICROCHIP

      https://git.kernel.org/conor/c/37c09ed41925

Thanks,
Conor.