[PATCH] arm: relocate: Make data-only relocation mode non-user-configurable
Marek Vasut
marek.vasut+renesas at mailbox.org
Mon Mar 30 01:15:16 CEST 2026
The data only relocation mode should be selected on per-SoC or per-core
basis, make these options non-user-configurable. The SoC or cores which
require this have to select this option using "default" keyword.
Fixes: d9eee3d17882 ("arm: relocate: Introduce data-only relocation mode")
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
See e.g. arm64: renesas: Add Cortex-M33 build option to R-Car Gen5
for the enablement example.
---
Cc: Anshul Dalal <anshuld at ti.com>
Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
Cc: Jesse Taube <mr.bossman075 at gmail.com>
Cc: Peng Fan <peng.fan at nxp.com>
Cc: Quentin Schulz <quentin.schulz at cherry.de>
Cc: Tien Fong Chee <tien.fong.chee at altera.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: Udit Kumar <u-kumar1 at ti.com>
Cc: u-boot at lists.denx.de
---
Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Kconfig b/Kconfig
index 1679bba5d75..0bbdc0cbea6 100644
--- a/Kconfig
+++ b/Kconfig
@@ -475,7 +475,7 @@ config SKIP_RELOCATE
limited RAM to run U-Boot.
config SKIP_RELOCATE_CODE
- bool "Skips relocation of U-Boot code to end of RAM"
+ bool
help
Skips relocation of U-Boot code to the end of RAM, but still does
relocate data to the end of RAM. This is mainly meant to relocate
@@ -484,7 +484,7 @@ config SKIP_RELOCATE_CODE
This split configuration is present on various secure cores.
config SKIP_RELOCATE_CODE_DATA_OFFSET
- hex "Offset of read-write data memory from read-only text memory"
+ hex
default 0x0
depends on SKIP_RELOCATE_CODE
help
--
2.53.0
More information about the U-Boot
mailing list