diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-08-28 00:29:34 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-09-15 15:35:29 +0200 |
commit | 0b0c1dbd500dfe3e43ccfa1c186f44e25ea6b23f (patch) | |
tree | a5b4febc7f5fb22cb55b3a82217cee955c6c99e2 /include/drm/drm_framebuffer.h | |
parent | ARM: 9005/1: debug: Select flow control for all debug UARTs (diff) | |
download | linux-0b0c1dbd500dfe3e43ccfa1c186f44e25ea6b23f.tar.xz linux-0b0c1dbd500dfe3e43ccfa1c186f44e25ea6b23f.zip |
ARM: 9006/1: uncompress: Wait for ready and busy in debug prints
For some platforms such as Qualcomm we need to wait for the
UART to be ready before writing characters to the UART
in the same manner as the macro in debug.S used with the
main "Uncompressing Linux ..." text. Pass an extra temporary
variable to writeb and make it call waituarttxrdy and
busyuart just like the other decomression messages.
Optionally it will also call waituartcts if and only if
CONFIG_DEBUG_UART_FLOW_CONTROL is selected.
After this the decompression debug messages work fine on
Qualcomm platforms if you compile head.S with -DDEBUG.
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/drm/drm_framebuffer.h')
0 files changed, 0 insertions, 0 deletions