]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
lib: Kconfig: add entry for errno_str() function
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:40 +0000 (20:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:40:24 +0000 (22:40 +0200)
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
lib/Kconfig

index bb0fa27189f683bad75618c8bcb72bccd6632e01..ce7de8c4238246840a3d1db2df2f47e6c638dca0 100644 (file)
@@ -85,4 +85,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