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

Signed-off-by: Simon Glass <[email protected]>
---

(no changes since v1)

 lib/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index 83e5edd73b0..1da5593f0a9 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.581.gbfd45094c4-goog

Reply via email to