u-boot/common/spl
Samuel Holland 3988be5fd4 spl: Always define preloader_console_init
A large number of boards call preloader_console_init unconditionally.
Currently, they fail to build with CONFIG_SPL_SERIAL=n, because the
function is undefined in that case. To fix the build, always define
preloader_console_init, but make it no-op when CONFIG_SPL_SERIAL=n.

For the few boards that did check for CONFIG_SPL_SERIAL before calling
preloader_console_init, remove the checks, since the function can now
be called unconditionally.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
2020-05-15 14:47:35 -04:00
..
Kconfig rename symbol: CONFIG_TEGRA -> CONFIG_ARCH_TEGRA 2020-05-15 14:47:35 -04:00
Makefile spl: Extract legacy image handling into separate file 2020-04-27 20:29:33 +02:00
spl.c spl: Always define preloader_console_init 2020-05-15 14:47:35 -04:00
spl_atf.c spl: atf: Enable option to rewrite bl2_plat_get_bl31_params() 2020-01-14 09:05:54 +01:00
spl_bootrom.c spl: pass args to board_return_to_bootrom 2019-10-08 16:35:16 +02:00
spl_dfu.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
spl_ext.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
spl_fat.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
spl_fit.c spl: fit: do not check argument of free() 2020-04-24 16:40:09 -04:00
spl_legacy.c spl: spl_legacy: Add lzma decompression support for legacy image 2020-04-27 20:29:33 +02:00
spl_mmc.c spl: mmc: Rename spl_boot_partition() to spl_mmc_boot_partition() 2020-04-22 20:41:57 +08:00
spl_nand.c spl: nand: support loading i.MX container format file 2019-10-08 16:36:36 +02:00
spl_net.c image: Rename load_addr, save_addr, save_size 2020-01-24 23:06:49 +05:30
spl_nor.c spl: spl_nor: Remove unused variable 'ret' warning 2020-04-27 20:29:33 +02:00
spl_onenand.c spl: Weed out CONFIG_SYS_TEXT_BASE usage 2018-09-25 21:48:43 -04:00
spl_opensbi.c riscv: Introduce SPL_SMP Kconfig option for U-Boot SPL 2020-04-23 10:14:06 +08:00
spl_optee.S Rockchip-focused changes for v2018.11-rc2: 2018-10-05 13:40:42 -04:00
spl_ram.c spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU 2019-01-26 08:13:54 -05:00
spl_sata.c spl: sata: support U-Boot load from raw sata disk 2019-07-24 14:15:36 -04:00
spl_sdp.c spl: sdp: Add DM gadget support for sdp 2020-05-03 15:31:54 +02:00
spl_spi.c spl: spi: support loading i.MX container format file 2019-10-08 16:36:36 +02:00
spl_ubi.c ubispl: add support for loading volumes by name 2019-07-09 07:00:25 +02:00
spl_usb.c usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE 2019-02-15 22:01:15 +01:00
spl_xip.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl_ymodem.c spl: ymodem: Fix loading of fit image 2019-12-03 08:44:14 -05:00