commit | df0df67e572bbe177c9de57774119a176feae41d | [log] [tgz] |
---|---|---|
author | Alex Kiernan <alex.kiernan@gmail.com> | Thu Apr 19 04:32:53 2018 +0000 |
committer | Tom Rini <trini@konsulko.com> | Sat Apr 28 18:32:23 2018 -0400 |
tree | e101584f003defaea05ecaa5e2abfcfc209c21c2 | |
parent | 44ad550daa43ee12c6166fa4534504501804cf9c [diff] |
spl: ti: Avoid serial calls when serial support is disabled 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@gmail.com>