[PATCH 014/171] lib: Add a Kconfig for SPL_ERRNO_STR
Heinrich Schuchardt
xypron.glpk at gmx.de
Mon Jan 30 15:51:56 CET 2023
On 1/30/23 15:40, Simon Glass wrote:
> This is implicitly used in the source and seems useful, so add it.
Do not use the same commit message for all patches.
Clearly describe how you plan to use this and put this patch in a series
where you actually use the new CONFIG option
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> lib/Kconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 549bd357785..999ae99bf68 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -782,6 +782,10 @@ config ERRNO_STR
> - if errno is null or positive number - a pointer to "Success" message
> - if errno is negative - a pointer to errno related message
>
> +config SPL_ERRNO_STR
> + def_bool n # Enable function for getting errno-related string message (SPL)
> + depends on SPL
> +
> config HEXDUMP
> bool "Enable hexdump"
> help
More information about the U-Boot
mailing list