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

Przemyslaw Marczak p.marczak at samsung.com
Mon Apr 20 20:07:40 CEST 2015


Signed-off-by: Przemyslaw Marczak <p.marczak at 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



More information about the U-Boot mailing list