Skip to contentSkip to conversation

ARC: [plat-arcfpga]: remove unused Kconfig params

PATCH In review Michael Opdenacker 2 participants 3 messages Oct 1, 2014 – Oct 2, 2014 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: [plat-arcfpga]: remove unused Kconfig params

This removes the ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 Kconfig parameters which are no longer used anywhere in the source code and Makefiles.

This also updates a comment refering to these parameters.

---
 arch/arc/plat-arcfpga/Kconfig | 13 -------------
 1 file changed, 13 deletions(-)
arch/arc/plat-arcfpga/Kconfig +0 -13
index b9f34cf55acf..3f6814aa97ac 100644
@@ -12,23 +12,10 @@ menuconfig ARC_PLAT_FPGA_LEGACY
 	help
 	  Support for ARC development boards, provided by Synopsys.
 	  These are based on FPGA or ISS. e.g.
-	  - ARCAngel4
-	  - ML509
 	  - MetaWare ISS
 
 if ARC_PLAT_FPGA_LEGACY
 
-config ARC_BOARD_ANGEL4
-	bool "ARC Angel4"
-	default y
-	help
-	  ARC Angel4 FPGA Ref Platform (Xilinx Virtex Based)
-
-config ARC_BOARD_ML509
-	bool "ML509"
-	help
-	  ARC ML509 FPGA Ref Platform (Xilinx Virtex-5 Based)
-
 config ISS_SMP_EXTN
 	bool "ARC SMP Extensions (ISS Models only)"
 	default n
Signature · 1 line
1.9.1
#1 lore raw
Quoted 8 lines · Michael Opdenacker

This removes the ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 Kconfig parameters which are no longer used anywhere in the source code and Makefiles.

This also updates a comment refering to these parameters.

---

See commit 774b689502d4 ("ARC: [arcfpga] Get rid of ARC_BOARD_ANGEL4 and ARC_BOARD_ML509") in linux-next since yesterday.

Quoted 8 lines
 arch/arc/plat-arcfpga/Kconfig | 13 -------------
 1 file changed, 13 deletions(-)
arch/arc/plat-arcfpga/Kconfig +0 -0
index b9f34cf55acf..3f6814aa97ac 100644

arch/arc/plat-arcfpga/Kconfig menuconfig ARC_PLAT_FPGA_LEGACY · line 15

Quoted 6 lines
arch/arc/plat-arcfpga/Kconfig +0 -2
@@ -12,23 +12,10 @@ menuconfig ARC_PLAT_FPGA_LEGACY
 	help
 	  Support for ARC development boards, provided by Synopsys.
 	  These are based on FPGA or ISS. e.g.
-	  - ARCAngel4
-	  - ML509
 	  - MetaWare ISS

It doesn't follow from the fact that these Kconfig symbols are unused that this help text is now incorrect. How did you establish that?

Quoted 6 lines
arch/arc/plat-arcfpga/Kconfig +0 -4
 if ARC_PLAT_FPGA_LEGACY
 
-config ARC_BOARD_ANGEL4
-	bool "ARC Angel4"
-	default y
-	help

arch/arc/plat-arcfpga/Kconfig menuconfig ARC_PLAT_FPGA_LEGACY · line 21

Quoted 10 lines
arch/arc/plat-arcfpga/Kconfig +0 -7
-	  ARC Angel4 FPGA Ref Platform (Xilinx Virtex Based)
-
-config ARC_BOARD_ML509
-	bool "ML509"
-	help
-	  ARC ML509 FPGA Ref Platform (Xilinx Virtex-5 Based)
-
 config ISS_SMP_EXTN
 	bool "ARC SMP Extensions (ISS Models only)"
 	default n

Paul Bolle

#2 lore raw

Hi Paul,

Thank you for reviewing my patch!

Quoted 11 lines · Paul Bolle
Quoted 8 lines · Michael Opdenacker

This removes the ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 Kconfig parameters which are no longer used anywhere in the source code and Makefiles.

This also updates a comment refering to these parameters.

---

See commit 774b689502d4 ("ARC: [arcfpga] Get rid of ARC_BOARD_ANGEL4 and ARC_BOARD_ML509") in linux-next since yesterday.

Great. Happy to drop my patch then!

Quoted 4 lines
Quoted 4 lines
 arch/arc/plat-arcfpga/Kconfig | 13 -------------
 1 file changed, 13 deletions(-)
Quoted 13 lines

arch/arc/plat-arcfpga/Kconfig menuconfig ARC_PLAT_FPGA_LEGACY · line 15

Quoted 11 lines
arch/arc/plat-arcfpga/Kconfig +0 -2
index b9f34cf55acf..3f6814aa97ac 100644
@@ -12,23 +12,10 @@ menuconfig ARC_PLAT_FPGA_LEGACY
 	help
 	  Support for ARC development boards, provided by Synopsys.
 	  These are based on FPGA or ISS. e.g.
-	  - ARCAngel4
-	  - ML509
 	  - MetaWare ISS

It doesn't follow from the fact that these Kconfig symbols are unused that this help text is now incorrect. How did you establish that?

Oops, you're definitely right. Pfooh, starting to make the confusion between data and metadata... scary.

Cheers,

Michael.

Signature · 4 lines
Michael Opdenacker, CEO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098