[U-Boot] [PATCH v1 0/8] Fix SPL build without CONFIG_SPL_SERIAL_SUPPORT

Alex Kiernan alex.kiernan at gmail.com
Wed Apr 18 09:02:15 UTC 2018


Attempting to build SPL without CONFIG_SPL_SERIAL_SUPPORT defined fails
in assorted ways. This series fixes up those failures.

Green Travis build:

https://travis-ci.org/akiernan/u-boot/builds/367684056


Alex Kiernan (8):
  Cleanup CONFIG_SPL_SERIAL_SUPPORT migration
  spl: ti: Avoid preloader_console_init if !CONFIG_SPL_SERIAL_SUPPORT
  spl: Add dependency on serial to Ymodem
  spl: ti: Avoid serial calls when serial support is disabled
  spl: Split sprintf, strto* from SPL serial in Kconfig
  spl: Disable printf if not required
  Consolidate __assert_failed into one implementation
  spl: disk: usb: Add dependencies to sprintf/strto*

 arch/arm/mach-omap2/boot-common.c               |  3 ++-
 board/ti/am335x/board.c                         |  2 ++
 common/spl/Kconfig                              |  6 ++++++
 common/spl/spl.c                                |  2 ++
 configs/controlcenterdc_defconfig               |  1 +
 configs/ls1021aiot_sdcard_defconfig             |  1 +
 configs/ls1046aqds_nand_defconfig               |  1 +
 configs/ls1046aqds_sdcard_ifc_defconfig         |  1 +
 configs/ls1046aqds_sdcard_qspi_defconfig        |  1 +
 configs/ls1046ardb_emmc_defconfig               |  1 +
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig |  1 +
 configs/ls1046ardb_sdcard_defconfig             |  1 +
 disk/Kconfig                                    |  4 ++++
 drivers/usb/musb-new/Kconfig                    |  4 ++++
 include/configs/controlcenterdc.h               |  1 -
 include/configs/ls1021aiot.h                    |  1 -
 include/configs/ls1046a_common.h                |  2 --
 lib/Kconfig                                     | 22 ++++++++++++++++++++++
 lib/Makefile                                    | 15 ++++++---------
 lib/panic.c                                     | 11 +++++++++++
 lib/tiny-printf.c                               | 22 ++++++++--------------
 lib/vsprintf.c                                  | 12 +++---------
 22 files changed, 78 insertions(+), 37 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list