Skip to contentSkip to conversation

onenand: Remove ONENAND_BOOT option

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

Subsystems (4)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 onenand: Remove ONENAND_BOOT option

The option ONENAND_BOOT is never set, so remove it. The option SYS_ONENAND_BOOT was never migrated to Kconfig and any platforms which supported that have long been removed from the code, so remove the reference there as well.

---
 arch/arm/mach-omap2/omap3/lowlevel_init.S | 4 ++--
 boot/Kconfig                              | 8 --------
 2 files changed, 2 insertions(+), 10 deletions(-)
arch/arm/mach-omap2/omap3/lowlevel_init.S +2 -2
index 1ab9472e1987..5541a4714ac0 100644
@@ -176,10 +176,10 @@ ENTRY(lowlevel_init)
 	ldr	sp, SRAM_STACK
 	str	ip, [sp]	/* stash ip register */
 	mov	ip, lr		/* save link reg across call */
-#if !defined(CONFIG_SYS_NAND_BOOT) && !defined(CONFIG_SYS_ONENAND_BOOT)
+#if !defined(CONFIG_SYS_NAND_BOOT)
 /*
  * No need to copy/exec the clock code - DPLL adjust already done
- * in NAND/oneNAND Boot.
+ * in NAND Boot.
  */
 	ldr	r1, =SRAM_CLK_CODE
 	bl	cpy_clk_code
boot/Kconfig +0 -8
index c09a98c3233c..f101200ba7a5 100644
@@ -1436,14 +1436,6 @@ config NAND_BOOT
 	  booted via NAND flash. This is not a must, some SoCs need this,
 	  some not.
 
-config ONENAND_BOOT
-	bool "Support for booting from ONENAND"
-	imply MTD_RAW_NAND
-	help
-	  Enabling this will make a U-Boot binary that is capable of being
-	  booted via ONENAND. This is not a must, some SoCs need this,
-	  some not.
-
 config QSPI_BOOT
 	bool "Support for booting from QSPI flash"
 	help
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

The option ONENAND_BOOT is never set, so remove it. The option SYS_ONENAND_BOOT was never migrated to Kconfig and any platforms which supported that have long been removed from the code, so remove the reference there as well.

Applied to u-boot/next, thanks!

[1/1] onenand: Remove ONENAND_BOOT option

      commit: 177d73dd17705e77b1830a7354425636f617666d
Signature · 1 line
Tom