u-boot/arch/arm/mach-uniphier
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
..
arm32 common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
arm64 ARM: uniphier: make mem_map run-time configurable 2019-07-10 22:42:05 +09:00
bcu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
boot-device ARM: uniphier: de-couple SG macros into base address and offset 2019-07-10 22:42:00 +09:00
clk ARM: uniphier: move NAND reset assertion to U-Boot proper from SPL 2020-02-28 02:38:55 +09:00
debug-uart ARM: uniphier: de-couple SC macros into base address and offset 2019-07-10 22:42:02 +09:00
dram SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sbc ARM: uniphier: make boot_is_swapped() code optional 2019-07-10 22:41:58 +09:00
base-address.c ARM: uniphier: detect register base addresses run-time 2019-07-10 22:42:03 +09:00
base-address.h ARM: uniphier: detect register base addresses run-time 2019-07-10 22:42:03 +09:00
board_init.c ARM: uniphier: move NAND reset assertion to U-Boot proper from SPL 2020-02-28 02:38:55 +09:00
board_late_init.c ARM: uniphier: remove workaround for the NAND write protect 2020-02-28 02:40:22 +09:00
boards.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu-info.c ARM: uniphier: detect register base addresses run-time 2019-07-10 22:42:03 +09:00
debug.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dram_init.c ARM: uniphier: set gd->ram_base correctly 2020-02-01 01:14:32 +09:00
fdt-fixup.c ARM: uniphier: support fdt_fixup_mtdparts 2018-07-25 08:47:53 +09:00
init.h ARM: uniphier: move NAND reset assertion to U-Boot proper from SPL 2020-02-28 02:38:55 +09:00
Kconfig Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
Makefile ARM: uniphier: move NAND reset assertion to U-Boot proper from SPL 2020-02-28 02:38:55 +09:00
memconf.c ARM: uniphier: de-couple SG macros into base address and offset 2019-07-10 22:42:00 +09:00
micro-support-card.c ARM: uniphier: detect the base of micro support card at run-time 2020-02-28 02:40:56 +09:00
micro-support-card.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mmc-boot-mode.c spl: mmc: Rename spl_boot_mode() to spl_mmc_boot_mode() 2020-04-22 20:41:57 +08:00
mmc-first-dev.c ARM: uniphier: add sdscript, sdboot, sdupdate environment variables 2020-02-28 02:29:32 +09:00
nand-reset.c ARM: uniphier: move NAND reset assertion to U-Boot proper from SPL 2020-02-28 02:38:55 +09:00
pinctrl-glue.c dm: core: Add device_foreach_child() 2019-10-08 13:57:39 +08:00
reset.c common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
sc-regs.h ARM: uniphier: de-couple SC macros into base address and offset 2019-07-10 22:42:02 +09:00
sc64-regs.h ARM: uniphier: detect register base addresses run-time 2019-07-10 22:42:03 +09:00
sg-regs.h ARM: uniphier: detect register base addresses run-time 2019-07-10 22:42:03 +09:00
soc-info.c ARM: uniphier: de-couple SG macros into base address and offset 2019-07-10 22:42:00 +09:00
soc-info.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl_board_init.c spl: Always define preloader_console_init 2020-05-15 14:47:35 -04:00