Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: serial: samsung: Declare earlycon for Exynos850

It makes it possible to use just "earlycon" param in kernel cmdline
on Exynos850 based boards instead of "earlycon=exynos4210,0x13820000",
as described in [1]:

When used with no options, the early console is determined by
stdout-path property in device tree's chosen node

[1] Documentation/admin-guide/kernel-parameters.txt

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://patch.msgid.link/20251118024822.28148-1-semen.protsenko@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sam Protsenko and committed by
Greg Kroah-Hartman
f0a6e936 57c87946

+2
+2
drivers/tty/serial/samsung_tty.c
··· 2830 2830 s5pv210_early_console_setup); 2831 2831 OF_EARLYCON_DECLARE(artpec8, "axis,artpec8-uart", 2832 2832 s5pv210_early_console_setup); 2833 + OF_EARLYCON_DECLARE(exynos850, "samsung,exynos850-uart", 2834 + s5pv210_early_console_setup); 2833 2835 2834 2836 static int __init gs101_early_console_setup(struct earlycon_device *device, 2835 2837 const char *opt)