From f9d788d925574109ecf239a16def9450cd4c3ecd Mon Sep 17 00:00:00 2001 From: Jesse Taube Date: Wed, 9 Apr 2025 14:08:33 -0400 Subject: common: Add CONFIG_SKIP_RELOCATE Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the relocation of the U-Boot image. CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM allowing for systems that have extremely limited RAM to run U-Boot. Signed-off-by: Jesse Taube Reviewed-by: Tom Rini Reviewed-by: Caleb Connolly Reviewed-by: Fabio Estevam --- Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Kconfig') diff --git a/Kconfig b/Kconfig index a508c5430f0..51358633762 100644 --- a/Kconfig +++ b/Kconfig @@ -454,6 +454,12 @@ config TOOLS_DEBUG it is possible to set breakpoints on particular lines, single-step debug through the source code, etc. +config SKIP_RELOCATE + bool "Skips relocation of U-Boot to end of RAM" + help + Skips relocation of U-Boot allowing for systems that have extremely + limited RAM to run U-Boot. + endif # EXPERT config PHYS_64BIT -- cgit v1.2.3