[PATCH] lib: correct description of CONFIG_SYS_FDT_PAD
Ilias Apalodimas
ilias.apalodimas at linaro.org
Tue Mar 4 10:46:03 CET 2025
On Sun, 2 Mar 2025 at 15:02, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> CONFIG_SYS_FDT_PAD defines the number of unused bytes added to a
> device-tree and not the total size.
>
> Fixes: 40ed7be4af52 ("Convert CONFIG_SYS_FDT_PAD to Kconfig")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> lib/Kconfig | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 1a683dea670..a21b3378fa7 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -1008,14 +1008,14 @@ config OF_LIBFDT_OVERLAY
> This enables the FDT library (libfdt) overlay support.
>
> config SYS_FDT_PAD
> - hex "Maximum size of the FDT memory area passeed to the OS"
> + hex "Free space added to device-tree before booting"
> depends on OF_LIBFDT
> default 0x13000 if FMAN_ENET || QE || U_QE
> default 0x3000
> help
> - During OS boot, we allocate a region of memory within the bootmap
> - for the FDT. This is the size that we will expand the FDT that we
> - are using will be extended to be, in bytes.
> + The operating system may need a free area at the end of the device-
> + tree for fix-ups. This setting defines by how many bytes U-Boot
> + extends the device-tree before booting.
>
> config SPL_OF_LIBFDT
> bool "Enable the FDT library for SPL"
> --
> 2.48.1
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list