]> git.ipfire.org Git - thirdparty/grub.git/commit
term/ns8250: Support more MMIO access sizes
authorBenjamin Herrenschmidt <benh@amazon.com>
Fri, 23 Dec 2022 01:47:58 +0000 (12:47 +1100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 19 Jan 2023 16:39:04 +0000 (17:39 +0100)
commitf5e1d23a187cfb511a22e9fb0d9f673db34518a0
treefaaf5f8a9a41b21b1c7e95a7a93d07aedd0f0a49
parent7b192ec4cd7c4b3207db010202349dd283e72041
term/ns8250: Support more MMIO access sizes

It is common for PCI based UARTs to use larger than one byte access
sizes. This adds support for this and uses the information present
in SPCR accordingly.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/term/ns8250-spcr.c
grub-core/term/ns8250.c
include/grub/serial.h