]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Split sprintf, strto* from SPL serial in Kconfig
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 19 Apr 2018 04:32:54 +0000 (04:32 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 28 Apr 2018 22:32:23 +0000 (18:32 -0400)
commit14ad44ab466a8f4630c603f4c0bb5c57d0f27ae6
tree4dca5b875ad778a2d4862804ff89b66175cd6aa5
parentd4bb3b376223c72b49c3a2bdcce896557d997e6b
spl: Split sprintf, strto* from SPL serial in Kconfig

When SPL serial is disabled, callers who need sprintf or strtoul fail
because their inclusion is guarded by CONFIG_SPL_SERIAL_SUPPORT/
CONFIG_TPL_SERIAL_SUPPORT.

Split printf, sprintf and strto into their own entries and then select
all of them if SERIAL_SUPPORT is enabled to match the current behaviour.

Include panic.o unconditionally as it can be called from anywhere which
uses BUG_ON().

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
common/spl/Kconfig
lib/Kconfig
lib/Makefile