arm: K3: sysfw-loader: Do not require full printf() for version info
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 5 Aug 2019 18:46:23 +0000 (13:46 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 12 Aug 2019 17:33:43 +0000 (13:33 -0400)
commit0805fe151d8c47cfbcfddf71c0891ed4f3c10b56
tree067e99aed9a44edfc7ce6a341f9bcbd8cdd584d4
parentc659a979ea777b0b1119a46f76de9e9616049374
arm: K3: sysfw-loader: Do not require full printf() for version info

A previous commit...

commit 2a51e16bd57a ("configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default")

...causes the System Firmware version string during SPL boot to no longer
getting printed to the console as expected. To fix this issue rework the
handling of that string to only use basic printf() syntax rather than
for example disabling CONFIG_USE_TINY_PRINTF on affected devices, this
way maintaining most of the memory size benefit the initial patch brings
when it comes to SPL.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-k3/sysfw-loader.c