Skip to contentSkip to conversation

stm32mp: remove redundant SYS_TEXT_BASE prompt

PATCH New Thomas Hebb 2 participants 3 messages Dec 21, 2019 – Jan 17, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stm32mp: remove redundant SYS_TEXT_BASE prompt

The main prompt for this (defined in /Kconfig) is visible at all times, which means there's no reason to have an additional, machine-specific prompt to set the same option.

---

 arch/arm/mach-stm32mp/Kconfig | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/mach-stm32mp/Kconfig +0 -5
index ae28f6e206..bf8a18a0c3 100644
@@ -80,12 +80,7 @@ config STM32MP1_OPTEE
 		OP-TEE monitor provides ST SMC to access to secure resources
 
 config SYS_TEXT_BASE
-	prompt "U-Boot base address"
 	default 0xC0100000
-	help
-		configure the U-Boot base address
-		when DDR driver is used:
-		  DDR + 1MB (0xC0100000)
 
 config NR_DRAM_BANKS
 	default 1
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 stm32mp: remove redundant SYS_TEXT_BASE prompt

Hi Thomas,

Quoted 8 lines

From: Thomas Hebb <[email protected]>
Sent: samedi 21 décembre 2019 03:04

The main prompt for this (defined in /Kconfig) is visible at all times, which means there's no reason to have an additional, machine-specific prompt to set the same option.

Yes, thanks for notice it.

It wasn't the case before the commit 278b90ce786f ('configs: Migrate CONFIG_SYS_TEXT_BASE') merged before my first comit 2514c2d0e6abe (' arm: stm32: add new architecture for STM32MP family').

And I miss it when I rebase my initial serie.

Quoted 24 lines

---

 arch/arm/mach-stm32mp/Kconfig | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/mach-stm32mp/Kconfig +0 -6
index ae28f6e206..bf8a18a0c3 100644
@@ -80,12 +80,7 @@ config STM32MP1_OPTEE
 		OP-TEE monitor provides ST SMC to access to secure resources
 
 config SYS_TEXT_BASE
-	prompt "U-Boot base address"
 	default 0xC0100000
-	help
-		configure the U-Boot base address
-		when DDR driver is used:
-		  DDR + 1MB (0xC0100000)
 
 config NR_DRAM_BANKS
 	default 1
--

2.24.1

#2 lore raw

PATCH 1/1 stm32mp: remove redundant SYS_TEXT_BASE prompt

In reply to Thomas Hebb

Hi Thomas,

Quoted 9 lines

From: Uboot-stm32 <[email protected]> On Behalf Of Thomas Hebb

The main prompt for this (defined in /Kconfig) is visible at all times, which means there's no reason to have an additional, machine-specific prompt to set the same option.

---

Applied to u-boot-stm32/master, thanks!

Regards
Patrick