From 6501ff6251d472177c68d628fe34ca03cb7f2287 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Mon, 20 Apr 2015 20:07:40 +0200
Subject: [PATCH] lib: Kconfig: add entry for errno_str() function
Signed-off-by: Przemyslaw Marczak
Acked-by: Simon Glass
---
lib/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index 0454a86a02..5b6cf3d68d 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -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
--
2.39.5