aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-08-08 22:48:42 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 20:51:22 +0200
commitd3a9184773c5cde483e249096ae7c7f98f310e20 (patch)
tree4e93c505f6457f63cfb498f2ce29bfaa54e45152 /firmware
parentserial: 8250_uniphier: fix serial port index in private data (diff)
downloadlinux-dev-d3a9184773c5cde483e249096ae7c7f98f310e20.tar.xz
linux-dev-d3a9184773c5cde483e249096ae7c7f98f310e20.zip
serial: 8250_uniphier: use CHAR register for canary to detect power-off
The 8250 core uses the SCR as a canary to discover if the console has been powered-off. This hardware does not have SCR at offset 7, but an unused register CHAR at a different offset. As long as the character interrupt is disabled, the register access has no impact, so it is useful as an alternative scratch register. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions