]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/Kconfig
tegra: video: Support serial output resource (SOR) on tegra124
[karo-tx-uboot.git] / lib / Kconfig
index f3ea0555f2274379e523ca0f8bf88d85d84ee452..bb0fa27189f683bad75618c8bcb72bccd6632e01 100644 (file)
@@ -8,6 +8,9 @@ config CC_OPTIMIZE_LIBS_FOR_SPEED
 
          If unsure, say N.
 
+config LIB_RAND
+       bool
+
 config HAVE_PRIVATE_LIBGCC
        bool
 
@@ -27,8 +30,22 @@ config SYS_HZ
          get_timer() must operate in milliseconds and this option must be
          set to 1000.
 
-config LIB_RAND
-       bool
+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