u-boot/drivers/serial
Michal Simek 4cc24aeaf4 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>
2020-06-04 15:05:45 -04:00
..
altera_jtag_uart.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
altera_uart.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm_dcc.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
atmel_usart.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
atmel_usart.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig serial: Add missing Kconfig dependencies for debug consoles 2020-06-04 15:05:45 -04:00
lpc32xx_hsuart.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
Makefile serial: mcfuart: renaming to a more appropriate name 2020-03-13 09:29:50 -04:00
ns16550.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox.c dm: serial: Add clock member to struct serial_device_info 2020-04-16 14:36:28 +08:00
serial-uclass.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
serial.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
serial_ar933x.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_arc.c serial_arc: Allocate buffer for private data 2019-01-25 08:40:26 +03:00
serial_bcm283x_mu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_bcm283x_pl011.c arm: bcm283x: serial: Move ofdata reading to probe() method 2020-05-12 10:59:12 +02:00
serial_bcm6345.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
serial_coreboot.c x86: serial: Add a coreboot serial driver 2020-02-04 01:19:25 +08:00
serial_cortina.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_efi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_intel_mid.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_linflexuart.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_lpuart.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_mcf.c serial: mcfuart: renaming to a more appropriate name 2020-03-13 09:29:50 -04:00
serial_meson.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_mpc8xx.c drivers: serial: get rid of non DM mpc8xx driver 2018-12-03 10:44:10 -05:00
serial_msm.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
serial_mtk.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_mvebu_a3700.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_mxc.c serial: mxc: Add compatibles to NXP's serial driver (for imx21 and imx53) 2019-07-19 20:32:24 +02:00
serial_ns16550.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
serial_nulldev.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_omap.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_owl.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_pic32.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_pl01x.c uart: pl011: Add proper DM clock support 2020-05-07 09:01:42 -04:00
serial_pl01x_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_pxa.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
serial_rockchip.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
serial_s5p.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_sh.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
serial_sh.h sh: sh3: Remove CPU support 2019-05-10 22:43:18 +02:00
serial_sifive.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_sti_asc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_stm32.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_stm32.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_uniphier.c serial: uniphier: set clock rate without clock-frequency property 2018-06-23 01:28:15 +09:00
serial_xuartlite.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_zynq.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
usbtty.c serial: usb: Correct the usbtty_...() prototypes 2019-12-02 18:23:10 -05:00
usbtty.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00