diff options
author | Michal Simek | 2020-05-28 12:05:12 +0200 |
---|---|---|
committer | Tom Rini | 2020-06-04 15:05:45 -0400 |
commit | 4cc24aeaf420f33f7ee92f76e025a86fc9aaefec (patch) | |
tree | 3e5132030c4fd243c8757daf1d089bf5a5a42276 /board/mediatek/mt8518 | |
parent | c2a38411d11d4b4bed5d89990fb5940c2cbaa02e (diff) |
serial: Add missing Kconfig dependencies for debug consoles
Debug console is the part of serial driver in the same file. It means to be
able to enable debug console you also need to enable driver itself.
That's why add all dependecies and list only debug consoles which are
enabled based on driver selection to avoid compilation error when user
asks for certain debug console but driver is not enable for it.
Error:
aarch64-linux-gnu-ld.bfd: common/built-in.o: in function `putc':
/home/monstr/data/disk/u-boot/common/console.c:513: undefined reference to `printch'
aarch64-linux-gnu-ld.bfd: common/built-in.o: in function `puts':
/home/monstr/data/disk/u-boot/common/console.c:563: undefined reference to `printch'
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Fix ns16550 dependency, add ZYNQ_SERIAL, change S5P]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/mediatek/mt8518')
0 files changed, 0 insertions, 0 deletions