mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 BAREBOX <barebox@lists.infradead.org>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	 Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH 2/3] arm: socfpga: reorganize Kconfig menu
Date: Wed, 13 May 2026 14:20:18 +0200	[thread overview]
Message-ID: <20260513-socfpga-kconfig-v1-2-6b935776f0ac@pengutronix.de> (raw)
In-Reply-To: <20260513-socfpga-kconfig-v1-0-6b935776f0ac@pengutronix.de>

Move the SoC config options to the top to be able to get a quick
overview over the supported SoCs.

Change the comment lines that separate board with different SoCs to use
the proper SoC marketing names.

Move the XLOAD option to the bottom to make it available as a separate
feature that is only available if an appropriate board is selected.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 arch/arm/mach-socfpga/Kconfig | 52 +++++++++++++++++++++----------------------
 1 file changed, 25 insertions(+), 27 deletions(-)

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 343264209267..a836711e6c40 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -1,15 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
-if ARCH_SOCFPGA
-
-config ARCH_SOCFPGA_XLOAD
-	bool
-	depends on ARCH_SOCFPGA_CYCLONE5
-	prompt "Build SoCFPGA preloader image"
-
-menu "SoCFPGA boards"
-
-if 32BIT
+menu "SoCFPGA Features"
+	depends on ARCH_SOCFPGA
 
 config ARCH_SOCFPGA_CYCLONE5
 	bool
@@ -28,7 +20,20 @@ config ARCH_SOCFPGA_ARRIA10
 	select OFTREE
 	select MCI_DW_PBL
 
-comment "Cyclone5 boards"
+config ARCH_SOCFPGA_AGILEX5
+	bool
+	select CPU_V8
+	select RESET_CONTROLLER
+	select RESET_SIMPLE
+	select OFDEVICE
+	select OFTREE
+	select FIRMWARE_AGILEX5_ATF
+	select ARM_ATF
+	select ARM_SMCCC
+
+if 32BIT
+
+comment "Cyclone V boards"
 
 config MACH_SOCFPGA_ALTERA_SOCDK
 	select ARCH_SOCFPGA_CYCLONE5
@@ -58,7 +63,7 @@ config MACH_SOCFPGA_TERASIC_SOCKIT
 	select ARCH_SOCFPGA_CYCLONE5
 	bool "Terasic SoCKit"
 
-comment "Arria10 boards"
+comment "Arria 10 boards"
 
 config MACH_SOCFPGA_ENCLUSTRA_AA1
 	select ARCH_SOCFPGA_ARRIA10
@@ -72,19 +77,7 @@ endif
 
 if 64BIT
 
-config ARCH_SOCFPGA_AGILEX5
-	bool
-	select CPU_V8
-	select RESET_CONTROLLER
-	select RESET_SIMPLE
-	select OFDEVICE
-	select OFTREE
-	select FIRMWARE_AGILEX5_ATF
-	select ARM_ATF
-	select ARM_SMCCC
-
-
-comment "SoCFPGA Agilex5 boards"
+comment "Agilex 5 boards"
 
 config MACH_SOCFPGA_ARROW_AXE5_EAGLE
 	bool "Arrow AXE5 Eagle"
@@ -92,6 +85,11 @@ config MACH_SOCFPGA_ARROW_AXE5_EAGLE
 
 endif
 
-endmenu
+comment "board features"
 
-endif
+config ARCH_SOCFPGA_XLOAD
+	bool
+	depends on ARCH_SOCFPGA_CYCLONE5
+	prompt "Build SoCFPGA preloader image"
+
+endmenu

-- 
2.47.3




  parent reply	other threads:[~2026-05-13 12:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13 12:20 [PATCH 0/3] arm: socfpga: cleanup Kconfig Michael Tretter
2026-05-13 12:20 ` [PATCH 1/3] arm: socfgpa: use tabs for indent in Kconfig Michael Tretter
2026-05-13 12:20 ` Michael Tretter [this message]
2026-05-13 12:20 ` [PATCH 3/3] arm: socfpga: regenerate defconfig files Michael Tretter
2026-05-13 14:05 ` [PATCH 0/3] arm: socfpga: cleanup Kconfig Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260513-socfpga-kconfig-v1-2-6b935776f0ac@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    --cc=s.trumtrar@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox