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: Jagan Teki <jagan@amarulasolutions.com>, u-boot@lists.denx.de
Subject: Re: [PATCH 03/22] sunxi: Add missing dependencies to Kconfig selections
Date: Fri, 11 Nov 2022 01:11:28 +0000	[thread overview]
Message-ID: <20221111011128.50c77032@slackpad.lan> (raw)
In-Reply-To: <20221101050835.2421-4-samuel@sholland.org>

On Tue,  1 Nov 2022 00:08:15 -0500
Samuel Holland <samuel@sholland.org> wrote:

> Some of the selected symbols have a user-visible dependency. Make the
> selections conditional on that dependency to avoid creating invalid
> configurations.

No change in any of the generated configs, so looks fine:

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

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

Thanks,
Andre

> ---
> 
>  arch/arm/Kconfig | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 939f76867e..4e5daa9e7f 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1134,30 +1134,30 @@ config ARCH_SOCFPGA
>  config ARCH_SUNXI
>  	bool "Support sunxi (Allwinner) SoCs"
>  	select BINMAN
> -	select CMD_GPIO
> +	select CMD_GPIO if GPIO
>  	select CMD_MMC if MMC
>  	select CMD_USB if DISTRO_DEFAULTS && USB_HOST
>  	select CLK
>  	select DM
> -	select DM_ETH
> -	select DM_GPIO
> +	select DM_ETH if NET
> +	select DM_GPIO if GPIO
>  	select DM_I2C if I2C
> +	select DM_SCSI if BLK && SCSI
> +	select DM_SERIAL if SERIAL
>  	select DM_SPI if SPI
>  	select DM_SPI_FLASH if SPI
> -	select DM_SCSI if SCSI
> -	select DM_SERIAL
>  	select GPIO_EXTRA_HEADER
>  	select OF_BOARD_SETUP
>  	select OF_CONTROL
>  	select OF_SEPARATE
>  	select PINCTRL
> -	select SPECIFY_CONSOLE_INDEX
> +	select SPECIFY_CONSOLE_INDEX if SERIAL
>  	select SPL_SEPARATE_BSS if SPL
>  	select SPL_STACK_R if SPL
>  	select SPL_SYS_MALLOC_SIMPLE if SPL
>  	select SPL_SYS_THUMB_BUILD if !ARM64
> -	select SUNXI_GPIO
> -	select SYS_NS16550
> +	select SUNXI_GPIO if GPIO
> +	select SYS_NS16550 if SERIAL
>  	select SYS_THUMB_BUILD if !ARM64
>  	select USB if DISTRO_DEFAULTS
>  	select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST


  reply	other threads:[~2022-11-11  1:12 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01  5:08 [PATCH 00/22] sunxi: Prepare platform Kconfig to support multiple architectures Samuel Holland
2022-11-01  5:08 ` [PATCH 01/22] sunxi: Fix default-enablement of USB host drivers Samuel Holland
2022-11-11  1:09   ` Andre Przywara
2022-11-01  5:08 ` [PATCH 02/22] sunxi: Remove unnecessary Kconfig selections Samuel Holland
2022-11-11  1:09   ` Andre Przywara
2022-11-01  5:08 ` [PATCH 03/22] sunxi: Add missing dependencies to " Samuel Holland
2022-11-11  1:11   ` Andre Przywara [this message]
2022-11-01  5:08 ` [PATCH 04/22] sunxi: Hide image type selection if SPL is disabled Samuel Holland
2022-11-11  1:12   ` Andre Przywara
2022-11-01  5:08 ` [PATCH 05/22] sunxi: Share the board Kconfig across architectures Samuel Holland
2022-11-01  5:08 ` [PATCH 06/22] sunxi: Move most Kconfig selections to the board Kconfig Samuel Holland
2022-11-01  5:08 ` [PATCH 07/22] sunxi: Globally enable SUPPORT_SPL Samuel Holland
2022-11-01  5:08 ` [PATCH 08/22] sunxi: Downgrade driver selections to implications Samuel Holland
2022-11-01  5:08 ` [PATCH 09/22] sunxi: Enable the I2C driver by default Samuel Holland
2022-11-01  5:08 ` [PATCH 10/22] sunxi: Move default values to the board Kconfig Samuel Holland
2022-11-01  5:08 ` [PATCH 11/22] sunxi: Hide the SUNXI_MINIMUM_DRAM_MB symbol Samuel Holland
2022-11-01  5:08 ` [PATCH 12/22] sunxi: Clean up the SPL_STACK_R_ADDR defaults Samuel Holland
2022-11-01  5:08 ` [PATCH 13/22] sunxi: Move PRE_CON_BUF_ADDR to the board Kconfig Samuel Holland
2022-11-01  5:08 ` [PATCH 14/22] sunxi: Move SPL_BSS_START_ADDR " Samuel Holland
2022-11-01  5:08 ` [PATCH 15/22] sunxi: Move SPL_TEXT_BASE " Samuel Holland
2022-11-01  5:08 ` [PATCH 16/22] sunxi: Move SYS_LOAD_ADDR " Samuel Holland
2022-11-01  5:08 ` [PATCH 17/22] sunxi: Move TEXT_BASE " Samuel Holland
2022-11-01  5:08 ` [PATCH 18/22] sunxi: Move most board options " Samuel Holland
2022-11-01  5:08 ` [PATCH 19/22] env: sunxi: Replace ARCH_SUNXI with BOARD_SUNXI Samuel Holland
2022-11-01  5:08 ` [PATCH 20/22] drivers: " Samuel Holland
2022-11-01  5:08 ` [PATCH 21/22] disk: " Samuel Holland
2022-11-01  5:08 ` [PATCH 22/22] spl: " Samuel Holland
2022-11-03 16:46 ` [PATCH 00/22] sunxi: Prepare platform Kconfig to support multiple architectures Andre Przywara
2022-11-06 22:32   ` Samuel Holland

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=20221111011128.50c77032@slackpad.lan \
    --to=andre.przywara@arm.com \
    --cc=jagan@amarulasolutions.com \
    --cc=samuel@sholland.org \
    --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