From: Tom Rini Date: Fri, 15 May 2020 16:53:48 -0400 Subject: [PATCH] spl: Always define preloader_console_init In-Reply-To: <20200507230810.21476-1-samuel@sholland.org> References: <20200507230810.21476-1-samuel@sholland.org> Message-ID: <20200515205348.GB4794@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > 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 > Reviewed-by: Stefan Roese > Reviewed-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: