Skip to content
Commit 3988be5f authored by Samuel Holland's avatar Samuel Holland Committed by Tom Rini
Browse files

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: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 48069ff8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment