+config SPL_USE_TINY_PRINTF
+ bool "Enable tiny printf() version in SPL"
+ depends on SPL
+ default y
+ help
+ This option enables a tiny, stripped down printf version.
+ This should only be used in space limited environments,
+ like SPL versions with hard memory limits. This version
+ reduces the code size by about 2.5KiB on armv7.
+
+ The supported format specifiers are %c, %s, %u/%d and %x.
+
+config TPL_USE_TINY_PRINTF
+ bool "Enable tiny printf() version in TPL"
+ depends on TPL
+ default y if SPL_USE_TINY_PRINTF