]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tty: serial: samsung: Declare earlycon for Exynos850
authorSam Protsenko <semen.protsenko@linaro.org>
Tue, 18 Nov 2025 02:48:22 +0000 (20:48 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 12:11:55 +0000 (13:11 +0100)
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>
drivers/tty/serial/samsung_tty.c

index 2fb58c626daf354616a7ff96298099e92ea20533..c1fabad6ba1faf6b6c38dec2eb459fa1c44257d2 100644 (file)
@@ -2830,6 +2830,8 @@ OF_EARLYCON_DECLARE(exynos4210, "samsung,exynos4210-uart",
                        s5pv210_early_console_setup);
 OF_EARLYCON_DECLARE(artpec8, "axis,artpec8-uart",
                        s5pv210_early_console_setup);
+OF_EARLYCON_DECLARE(exynos850, "samsung,exynos850-uart",
+                       s5pv210_early_console_setup);
 
 static int __init gs101_early_console_setup(struct earlycon_device *device,
                                            const char *opt)