Skip to contentSkip to conversation

Kconfig: Do not "select OF_SEPARATE"

PATCH In review Tom Rini 1 participant 2 messages Mar 15, 2025 – Apr 1, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Kconfig: Do not "select OF_SEPARATE"

As the code is today, we get a warning about "select" statements on "choice" options not doing anything. In the case of OF_SEPARATE this is the default so we do not need to do anything here normally to enforce this.

---
 arch/arm/Kconfig                  | 3 ---
 arch/arm/mach-nexell/Kconfig      | 1 -
 board/emulation/qemu-sbsa/Kconfig | 1 -
 3 files changed, 5 deletions(-)
arch/arm/Kconfig +0 -3
index 071fbf1fb202..447f7992fa53 100644
@@ -648,7 +648,6 @@ config ARCH_MVEBU
 	select SPL_TIMER if SPL
 	select TIMER if !ARM64
 	select OF_CONTROL
-	select OF_SEPARATE
 	select SPI
 	imply CMD_DM
 
@@ -1110,7 +1109,6 @@ config ARCH_SNAPDRAGON
 	select GPIO_EXTRA_HEADER
 	select MSM_SMEM
 	select OF_CONTROL
-	select OF_SEPARATE
 	select SMEM
 	select SPMI
 	select BOARD_LATE_INIT
@@ -1183,7 +1181,6 @@ config ARCH_SUNXI
 	select DM_SERIAL
 	select OF_BOARD_SETUP
 	select OF_CONTROL
-	select OF_SEPARATE
 	select PINCTRL
 	select SPECIFY_CONSOLE_INDEX
 	select SPL_SEPARATE_BSS if SPL
arch/arm/mach-nexell/Kconfig +0 -1
index 16324e15206f..b43dd5a5c258 100644
@@ -4,7 +4,6 @@ config ARCH_S5P4418
 	bool "Nexell S5P4418 SoC"
 	select CPU_V7A
 	select OF_CONTROL
-	select OF_SEPARATE
 	select NX_GPIO
 	select DM_SERIAL
 	select PL01X_SERIAL
board/emulation/qemu-sbsa/Kconfig +0 -1
index 728cecae6b3c..9ea6303ec9ca 100644
@@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	select HAS_ROM
 	select MTD
 	select OF_LIBFDT_OVERLAY
-	select OF_SEPARATE
 	select PCI
 	select PCIE_ECAM_GENERIC
 	select SYS_PCI_64BIT
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

As the code is today, we get a warning about "select" statements on "choice" options not doing anything. In the case of OF_SEPARATE this is the default so we do not need to do anything here normally to enforce this.

Applied to u-boot/next, thanks!

[1/1] Kconfig: Do not "select OF_SEPARATE"

      commit: da20dfb2e901d499fe18c6302987432604e6f999
Signature · 1 line
Tom