[U-Boot] [PATCH v4 03/16] lib: Kconfig: add entry for errno_str() function

Przemyslaw Marczak
2015-04-20T18:07:40Z

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
---
lib/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index d7fd219..b64cd92 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -74,4 +74,12 @@ config SHA_PROG_HW_ACCEL
is performed in hardware.
endmenu

+config ERRNO_STR
+ bool "Enable function for getting errno-related string message"
+ help
+ The function errno_str(int errno), returns a pointer to the errno
+ corresponding text message:
+ - if errno is null or positive number - a pointer to "Success" message
+ - if errno is negative - a pointer to errno related message
+
endmenu
--
1.9.1