[PATCH v3 13/81] lib: Add a Kconfig for SPL_ERRNO_STR
Simon Glass
sjg at chromium.org
Mon Feb 6 20:04:41 CET 2023
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
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.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list