[PATCH] common: Add CONFIG_SKIP_RELOCATE
Tom Rini
trini at konsulko.com
Sat Apr 5 16:31:43 CEST 2025
On Tue, Apr 01, 2025 at 08:37:38PM -0400, Jesse Taube wrote:
> 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 <Mr.Bossman075 at gmail.com>
> ---
> Kconfig | 7 +++++++
> common/board_f.c | 7 +++++++
> 2 files changed, 14 insertions(+)
>
> diff --git a/Kconfig b/Kconfig
> index 6379a454166..f518768615f 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -443,6 +443,13 @@ 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"
> + default n
Note that "n" is the default so we don't need this line. Otherwise:
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250405/eea16249/attachment.sig>
More information about the U-Boot
mailing list