Re: [PATCH v2] serial: samsung: Add samsung_early_read to support early kgdboc

From: Krzysztof Kozlowski
Date: Wed Mar 02 2022 - 06:52:13 EST


On 02/03/2022 12:49, Woody Lin wrote:
> The 'kgdboc_earlycon_init' looks for boot console that has both .read
> and .write callbacks. Adds 'samsung_early_read' to samsung_tty.c's early
> console to support kgdboc.
>
> Signed-off-by: Woody Lin <woodylin@xxxxxxxxxx>
> ---
> v2:
> add 'const' to 'struct samsung_early_console_data *data'
> ---
> drivers/tty/serial/samsung_tty.c | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>


Best regards,
Krzysztof