summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
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 /arch/xtensa
parent39be40ce066da4d5d59bf53f72b914018bc84029 (diff)
downloadtalos-op-linux-d3a9184773c5cde483e249096ae7c7f98f310e20.tar.gz
talos-op-linux-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 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud