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 <[email protected]>
---
See e.g. arm64: renesas: Add Cortex-M33 build option to R-Car Gen5
for the enablement example.
---
Cc: Anshul Dalal <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Jesse Taube <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Quentin Schulz <[email protected]>
Cc: Tien Fong Chee <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Udit Kumar <[email protected]>
Cc: [email protected]
---
 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

Reply via email to