[U-Boot] [PATCH v2 0/8] Fix SPL build without CONFIG_SPL_SERIAL_SUPPORT
Alex Kiernan
alex.kiernan at gmail.com
Thu Apr 19 04:32:49 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/368288275
Changes in v2:
- Rebase against master
- Update Travis build URL
- Introduce default y PRINTF/SPRINTF/STRTO symbol so CONFIG_IS_ENABLED
works without any additional ifdefs
- Remove ifdef dance with SPL/TPL now PRINTF exists as its own symbol
- Guard select if SPL/TPL_{SPRINTF,STRTO} symbols with SPL/TPL
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 | 34 +++++++++++++++++++++++++
lib/Makefile | 15 +++++------
lib/panic.c | 10 ++++++++
lib/tiny-printf.c | 21 +++++----------
lib/vsprintf.c | 11 ++------
22 files changed, 87 insertions(+), 37 deletions(-)
--
2.7.4
More information about the U-Boot
mailing list