public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Samuel Holland <samuel@sholland.org>
Cc: u-boot@lists.denx.de, Jagan Teki <jagan@amarulasolutions.com>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 2/2] serial: Remove obsolete CONS_INDEX_n Kconfig options
Date: Tue, 10 May 2022 00:45:23 +0100	[thread overview]
Message-ID: <20220510004523.7a6a1b17@slackpad.lan> (raw)
In-Reply-To: <20220509051055.40232-2-samuel@sholland.org>

On Mon,  9 May 2022 00:10:55 -0500
Samuel Holland <samuel@sholland.org> wrote:

> These were only ever implied by sunxi platforms, and that usage has
> been removed. Current practice is to specify CONFIG_CONS_INDEX in each
> board's defconfig.

Indeed. Verified by creating the .config files for all 160 ARCH_SUNXI
_defconfigs, with and without this series: they were identical.

> Signed-off-by: Samuel Holland <samuel@sholland.org>

Acked-by: Andre Przywara <andre.przywara@arm.com>

Thanks!
Andre

> ---
> 
>  drivers/serial/Kconfig | 26 --------------------------
>  1 file changed, 26 deletions(-)
> 
> diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
> index 1e595d0600..71a0591697 100644
> --- a/drivers/serial/Kconfig
> +++ b/drivers/serial/Kconfig
> @@ -74,36 +74,10 @@ config TPL_SERIAL_PRESENT
>  	  This option enables the full UART in TPL, so if is it disabled,
>  	  the full UART driver will be omitted, thus saving space.
>  
> -# Logic to allow us to use the imply keyword to set what the default port
> -# should be.  The default is otherwise 1.
> -config CONS_INDEX_0
> -	bool
> -
> -config CONS_INDEX_2
> -	bool
> -
> -config CONS_INDEX_3
> -	bool
> -
> -config CONS_INDEX_4
> -	bool
> -
> -config CONS_INDEX_5
> -	bool
> -
> -config CONS_INDEX_6
> -	bool
> -
>  config CONS_INDEX
>  	int "UART used for console"
>  	depends on SPECIFY_CONSOLE_INDEX
>  	range 0 6
> -	default 0 if CONS_INDEX_0
> -	default 2 if CONS_INDEX_2
> -	default 3 if CONS_INDEX_3
> -	default 4 if CONS_INDEX_4
> -	default 5 if CONS_INDEX_5
> -	default 6 if CONS_INDEX_6
>  	default 1
>  	help
>  	  Set this to match the UART number of the serial console.


  parent reply	other threads:[~2022-05-09 23:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09  5:10 [PATCH 1/2] sunxi: Remove obsolete Kconfig selections Samuel Holland
2022-05-09  5:10 ` [PATCH 2/2] serial: Remove obsolete CONS_INDEX_n Kconfig options Samuel Holland
2022-05-09 13:19   ` Tom Rini
2022-05-09 23:45   ` Andre Przywara [this message]
2022-05-24 15:57   ` Andre Przywara
2022-05-09 23:43 ` [PATCH 1/2] sunxi: Remove obsolete Kconfig selections Andre Przywara
2022-05-24 15:56 ` Andre Przywara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220510004523.7a6a1b17@slackpad.lan \
    --to=andre.przywara@arm.com \
    --cc=jagan@amarulasolutions.com \
    --cc=samuel@sholland.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox