WSL2-Linux-Kernel/arch/arm/include/debug
Linus Walleij 4df24fef09 ARM: 9005/1: debug: Select flow control for all debug UARTs
Instead of a flow control selection mechanism specifically for
8250, make this available for all debug UARTs. If the debug
UART supports waiting for CTS to be asserted, then this code
can be activated for terminals that need it.

We keep the defaults for EBSA110, Footbridge, Gemini and RPC
so that this still works as expected for these older platforms:
they assume that flow control shall be enabled for debug
prints.

I switch the location of the check for
ifdef CONFIG_DEBUG_UART_FLOW_CONTROL from the actual debug
UART drivers: the code would get compiled-out for 8250 and
Tegra unless their custom config (or passing -DFLOW_CONTROL
in the Tegra case) was not set. Instead this is conditional
at the three places where we print debug messages. The idea
is that debug UARTs can be implemented without this ifdef
boilerplate so they look cleaner, alas the ifdef has to be
somewhere.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2020-09-15 14:35:28 +01:00
..
8250.S ARM: 9005/1: debug: Select flow control for all debug UARTs 2020-09-15 14:35:28 +01:00
asm9260.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
at91.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
bcm63xx.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
brcmstb.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
clps711x.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
dc21285.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
digicolor.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
efm32.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
exynos.S ARM: EXYNOS: Add SPDX license identifiers 2018-02-12 19:55:21 +01:00
icedcc.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
imx-uart.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
imx.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
meson.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
msm.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
omap2plus.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
palmchip.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pl01x.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
renesas-scif.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
s3c24xx.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5pv210.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sa1100.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
samsung.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
sirf.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
sti.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
stm32.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
tegra.S ARM: 9005/1: debug: Select flow control for all debug UARTs 2020-09-15 14:35:28 +01:00
uncompress.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ux500.S ARM: ux500: simplify and move debug UART 2019-07-23 10:44:14 +02:00
vexpress.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vf.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
vt8500.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00
zynq.S ARM: 9004/1: debug: Split waituart to CTS and TXRDY 2020-09-15 14:35:27 +01:00