aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-06-08 12:46:18 -0400
committerTom Rini <trini@konsulko.com>2019-07-13 11:11:29 -0400
commit2a51e16bd57ad7ae0e8795448257f9d8c6ebe068 (patch)
tree6e71b6ebc02e3a84185a3d5ea5ca6897ea53b0ec /lib
parent28115e7bac772199b35e3f21b2a3c9e3d0f50a4a (diff)
downloadu-boot-2a51e16bd57ad7ae0e8795448257f9d8c6ebe068.zip
u-boot-2a51e16bd57ad7ae0e8795448257f9d8c6ebe068.tar.gz
u-boot-2a51e16bd57ad7ae0e8795448257f9d8c6ebe068.tar.bz2
configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default
The USE_TINY_PRINTF symbol only changes things within SPL and TPL builds, so make it depend on that support. Next, make it default as within these cases we should rarely have need of more advanced print formats outside of the debug context. To do this, in a few cases we need to correct our Kconfig dependencies as we had cases of non-SPL targets select'ing this symbol. Finally, in the case of a few boards we really do need the full printf functionality. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index e717eb3..3da45a5 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -97,6 +97,8 @@ config SYS_HZ
config USE_TINY_PRINTF
bool "Enable tiny printf() version"
+ depends on SPL || TPL
+ default y
help
This option enables a tiny, stripped down printf version.
This should only be used in space limited environments,