[PATCH 014/171] lib: Add a Kconfig for SPL_ERRNO_STR

Simon Glass
2023-01-30T14:49:15Z

This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg@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
--
2.39.1.456.gfc5497dd1b-goog