aboutsummaryrefslogtreecommitdiff
path: root/arch
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 /arch
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 'arch')
-rw-r--r--arch/arm/mach-omap2/Kconfig2
-rw-r--r--arch/arm/mach-rmobile/Kconfig.321
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 3fa9dc8..efe89ee 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -11,7 +11,7 @@ config OMAP34XX
select ARM_ERRATA_454179
select ARM_ERRATA_621766
select ARM_ERRATA_725233
- select USE_TINY_PRINTF
+ select USE_TINY_PRINTF if SPL
imply NAND_OMAP_GPMC
imply SPL_FS_EXT4
imply SPL_FS_FAT
diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32
index 67f669a..1441c80 100644
--- a/arch/arm/mach-rmobile/Kconfig.32
+++ b/arch/arm/mach-rmobile/Kconfig.32
@@ -57,7 +57,6 @@ config TARGET_BLANCHE
bool "Blanche board"
select DM
select DM_SERIAL
- select USE_TINY_PRINTF
imply CMD_DM
config TARGET_GOSE