Re: [PATCH] spl: Always define preloader_console_init

2020-05-15 Thread Tom Rini
On Thu, May 07, 2020 at 06:08:10PM -0500, Samuel Holland wrote: > 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 >

Re: [PATCH] spl: Always define preloader_console_init

2020-05-08 Thread Lokesh Vutla
On 08/05/20 4:38 AM, Samuel Holland wrote: > 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

Re: [PATCH] spl: Always define preloader_console_init

2020-05-08 Thread Stefan Roese
On 08.05.20 01:08, Samuel Holland wrote: 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

[PATCH] spl: Always define preloader_console_init

2020-05-07 Thread Samuel Holland
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