diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-04-19 04:32:53 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-28 18:32:23 -0400 |
commit | d4bb3b376223c72b49c3a2bdcce896557d997e6b (patch) | |
tree | e101584f003defaea05ecaa5e2abfcfc209c21c2 /lib | |
parent | 3bac19ce23f88607c31037f1389213db8b5f9a74 (diff) | |
download | u-boot-d4bb3b376223c72b49c3a2bdcce896557d997e6b.tar.gz |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions