serial: pl011: add console matching function
This patch adds function pl011_console_match() that implements method match of struct console. It allows to match consoles against data specified in a string, for example taken from command line or compiled by ACPI SPCR table handler. This patch was merged to tty-next but then reverted because of conflict with commit 46e36683 ("serial: earlycon: Extend earlycon command line option to support 64-bit addresses") Now it is fixed. Signed-off-by: NAleksey Makarov <aleksey.makarov@linaro.org> Reviewed-by: NPeter Hurley <peter@hurleysoftware.com> Acked-by: NRussell King <rmk+kernel@armlinux.org.uk> Tested-by: NChristopher Covington <cov@codeaurora.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录