From 2a51e16bd57ad7ae0e8795448257f9d8c6ebe068 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 8 Jun 2019 12:46:18 -0400 Subject: 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 --- lib/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Kconfig') diff --git a/lib/Kconfig b/lib/Kconfig index e717eb3de5..3da45a5ec3 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, -- cgit v1.2.3