Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1362836

Re: [PATCH v5 6/6] serial: pl011: add EARLYCON_DECLARE

From Peter Hurley <peter@hurleysoftware.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 6/6] serial: pl011: add EARLYCON_DECLARE
Date 2016-03-22 17:20 +0100
Message-ID <rfxce-71P-7@gated-at.bofh.it> (permalink)
References <rfs2R-37r-7@gated-at.bofh.it> <rfs2U-37r-73@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/22/2016 03:46 AM, Aleksey Makarov wrote:
> This patch adds definition of early console data for pl011.
> It allows setting up an early console with a string passed in
> command line or compiled by the ACPI SPCR table handler.

This shouldn't be necessary in 4.5+ since OF_EARLYCON_DECLARE()
should be equivalent to EARLYCON_DECLARE() as well.

Regards,
Peter Hurley


> Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
> ---
>  drivers/tty/serial/amba-pl011.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
> index 59b743f..af6f87cf 100644
> --- a/drivers/tty/serial/amba-pl011.c
> +++ b/drivers/tty/serial/amba-pl011.c
> @@ -2385,6 +2385,7 @@ static int __init pl011_early_console_setup(struct earlycon_device *device,
>  	return 0;
>  }
>  OF_EARLYCON_DECLARE(pl011, "arm,pl011", pl011_early_console_setup);
> +EARLYCON_DECLARE(pl011, pl011_early_console_setup);
>  
>  #else
>  #define AMBA_CONSOLE	NULL
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/6] ACPI: parse the SPCR table Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 11:50 +0100
  [PATCH v5 5/6] serial: pl011: add console matching function Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 11:50 +0100
  [PATCH v5 6/6] serial: pl011: add EARLYCON_DECLARE Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 11:50 +0100
    Re: [PATCH v5 6/6] serial: pl011: add EARLYCON_DECLARE Peter Hurley <peter@hurleysoftware.com> - 2016-03-22 17:20 +0100
      Re: [PATCH v5 6/6] serial: pl011: add EARLYCON_DECLARE Aleksey Makarov <amakarov.linux@gmail.com> - 2016-03-22 18:20 +0100
        Re: [PATCH v5 6/6] serial: pl011: add EARLYCON_DECLARE Peter Hurley <peter@hurleysoftware.com> - 2016-03-22 18:50 +0100
  [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 12:00 +0100
    Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-03-22 12:10 +0100
      Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Peter Hurley <peter@hurleysoftware.com> - 2016-03-22 17:10 +0100
        Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 18:10 +0100
          Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Peter Hurley <peter@hurleysoftware.com> - 2016-03-22 18:30 +0100
    Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Peter Hurley <peter@hurleysoftware.com> - 2016-03-22 16:00 +0100
      Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Yury Norov <ynorov@caviumnetworks.com> - 2016-03-22 18:00 +0100
        Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 18:20 +0100
        Re: [PATCH v5 3/6] ACPI: parse SPCR and enable matching console Peter Hurley <peter@hurleysoftware.com> - 2016-03-22 18:40 +0100
  [PATCH v5 2/6] ACPI: add definitions of DBG2 subtypes Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 12:00 +0100
  [PATCH v5 4/6] ACPI: enable ACPI_SPCR_TABLE on ARM64 Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-03-22 12:00 +0100

csiph-web