]> git.ipfire.org Git - people/ms/u-boot.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)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:36 +0000 (18:49 -0600)
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
lib/Kconfig

index 0454a86a02511625eb0a8b4d41ce5a1e42baf0f4..5b6cf3d68df15f7e70d7ae0c5eb9b86d633316d4 100644 (file)
@@ -82,4 +82,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