colibri_vf: Add separate defconfig for device tree support
[oweals/u-boot.git] / lib / Kconfig
index c9d2767d1da543407ffd7539eb790336dcc68632..5b6cf3d68df15f7e70d7ae0c5eb9b86d633316d4 100644 (file)
@@ -27,6 +27,23 @@ config SYS_HZ
          get_timer() must operate in milliseconds and this option must be
          set to 1000.
 
+config SYS_VSNPRINTF
+       bool "Enable safe version of sprintf()"
+       help
+         Since sprintf() can overflow its buffer, it is common to use
+         snprintf() instead, which knows the buffer size and can avoid
+         overflow. However, this does increase code size slightly (for
+         Thumb-2, about 420 bytes). Enable this option for safety when
+         using sprintf() with data you do not control.
+
+config REGEX
+       bool "Enable regular expression support"
+       help
+         If this variable is defined, U-Boot is linked against the
+         SLRE (Super Light Regular Expression) library, which adds
+         regex support to some commands, for example "env grep" and
+         "setexpr".
+
 source lib/rsa/Kconfig
 
 menu "Hashing Support"
@@ -65,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