Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alex Kiernan's avatar
    14ad44ab
    spl: Split sprintf, strto* from SPL serial in Kconfig · 14ad44ab
    Alex Kiernan authored
    
    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: default avatarAlex Kiernan <alex.kiernan@gmail.com>
    14ad44ab
    History
    spl: Split sprintf, strto* from SPL serial in Kconfig
    Alex Kiernan authored
    
    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: default avatarAlex Kiernan <alex.kiernan@gmail.com>