public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/8] Fix SPL build without CONFIG_SPL_SERIAL_SUPPORT
@ 2018-04-19  4:32 Alex Kiernan
  2018-04-19  4:32 ` [U-Boot] [PATCH v2 1/8] Cleanup CONFIG_SPL_SERIAL_SUPPORT migration Alex Kiernan
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Alex Kiernan @ 2018-04-19  4:32 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-04-29 21:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-19  4:32 [U-Boot] [PATCH v2 0/8] Fix SPL build without CONFIG_SPL_SERIAL_SUPPORT Alex Kiernan
2018-04-19  4:32 ` [U-Boot] [PATCH v2 1/8] Cleanup CONFIG_SPL_SERIAL_SUPPORT migration Alex Kiernan
2018-04-29 21:03   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 2/8] spl: ti: Avoid preloader_console_init if !CONFIG_SPL_SERIAL_SUPPORT Alex Kiernan
2018-04-29 21:03   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 3/8] spl: Add dependency on serial to Ymodem Alex Kiernan
2018-04-29 21:03   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 4/8] spl: ti: Avoid serial calls when serial support is disabled Alex Kiernan
2018-04-29 21:03   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 5/8] spl: Split sprintf, strto* from SPL serial in Kconfig Alex Kiernan
2018-04-29 21:04   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 6/8] spl: Disable printf if not required Alex Kiernan
2018-04-29 21:04   ` [U-Boot] [U-Boot,v2,6/8] " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 7/8] Consolidate __assert_failed into one implementation Alex Kiernan
2018-04-29 21:04   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-04-19  4:32 ` [U-Boot] [PATCH v2 8/8] spl: disk: usb: Add dependencies to sprintf/strto* Alex Kiernan
2018-04-29 21:04   ` [U-Boot] [U-Boot, v2, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox