lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <91bc69e6-8c6a-4e36-9b09-b000444f6465@ti.com>
Date:   Thu, 2 Nov 2023 14:33:28 +0530
From:   Vignesh Raghavendra <vigneshr@...com>
To:     Ronald Wahl <rwahl@....de>, <linux-kernel@...r.kernel.org>,
        <linux-serial@...r.kernel.org>
CC:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Peter Hurley <peter@...leysoftware.com>,
        Nishanth Menon <nm@...com>,
        Ronald Wahl <ronald.wahl@...itan.com>
Subject: Re: [PATCH] serial: 8250_omap: Add earlycon support for the AM654
 UART controller



On 31/10/23 18:42, Ronald Wahl wrote:
> From: Ronald Wahl <ronald.wahl@...itan.com>
> 
> Currently there is no support for earlycon on the AM654 UART
> controller. This commit adds it.

Something like below should also work for just an early console
functionality

earlycon=ns16550a,mmio32,0x02800000

But, I think its better to have setup mapped directly to compatible. so

Reviewed-by: Vignesh Raghavendra <vigneshr@...com>


> 
> Signed-off-by: Ronald Wahl <ronald.wahl@...itan.com>
> ---
>  drivers/tty/serial/8250/8250_early.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> index 9837a27739fd..e3f482fd3de4 100644
> --- a/drivers/tty/serial/8250/8250_early.c
> +++ b/drivers/tty/serial/8250/8250_early.c
> @@ -189,5 +189,6 @@ static int __init early_omap8250_setup(struct earlycon_device *device,
>  OF_EARLYCON_DECLARE(omap8250, "ti,omap2-uart", early_omap8250_setup);
>  OF_EARLYCON_DECLARE(omap8250, "ti,omap3-uart", early_omap8250_setup);
>  OF_EARLYCON_DECLARE(omap8250, "ti,omap4-uart", early_omap8250_setup);
> +OF_EARLYCON_DECLARE(omap8250, "ti,am654-uart", early_omap8250_setup);
> 
>  #endif
> --
> 2.41.0
> 

-- 
Regards
Vignesh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ