]> git.baikalelectronics.ru Git - uboot.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)
commitf305ccd92e57e8b3ac5f2495f43c6febd4aae107
tree4dca5b875ad778a2d4862804ff89b66175cd6aa5
parent02a30fd3dce2ef5d708d99ac276be110c85119da
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