[U-Boot] [U-Boot, v2, 4/8] spl: ti: Avoid serial calls when serial support is disabled

Tom Rini trini at konsulko.com
Sun Apr 29 21:03:59 UTC 2018


On Thu, Apr 19, 2018 at 04:32:53AM +0000, Alex Kiernan wrote:

> If CONFIG_SPL_SERIAL_SUPPORT is not set, then the build will fail:
> 
> board/ti/am335x/built-in.o: In function `spl_start_uboot':
> board/ti/am335x/board.c:247: undefined reference to `serial_tstc'
> board/ti/am335x/board.c:247: undefined reference to `serial_getc'
> 
> Avoid the calls to the serial functions in that case.
> 
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180429/ba65c593/attachment.sig>


More information about the U-Boot mailing list