public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: u-boot@lists.denx.de, git@xilinx.com
Cc: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Simon Glass <sjg@chromium.org>
Subject: Re: [PATCH] mtd: Add missing MTD dependency for cfi_mtd
Date: Mon, 17 Jul 2023 11:22:21 +0200	[thread overview]
Message-ID: <24f759a5-b8cf-ba04-367f-e39a3c996bd7@amd.com> (raw)
In-Reply-To: <76ae01ce2b2c988758b69e0f0cdcc21bf301c01e.1688472227.git.michal.simek@amd.com>



On 7/4/23 14:04, Michal Simek wrote:
> cfi_mtd requires add_mtd_device() which is available only when MTD is
> enabled that's why record this dependency.
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   drivers/mtd/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
> index 5fa88dae5f33..c56840c84975 100644
> --- a/drivers/mtd/Kconfig
> +++ b/drivers/mtd/Kconfig
> @@ -128,7 +128,7 @@ config FLASH_SPANSION_S29WS_N
>   
>   config FLASH_CFI_MTD
>   	bool "Enable CFI MTD driver"
> -	depends on FLASH_CFI_DRIVER
> +	depends on FLASH_CFI_DRIVER && MTD
>   	help
>   	  This option enables the building of the cfi_mtd driver
>   	  in the drivers directory. The driver exports CFI flash

Applied.
M

      reply	other threads:[~2023-07-17  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-04 12:04 [PATCH] mtd: Add missing MTD dependency for cfi_mtd Michal Simek
2023-07-17  9:22 ` Michal Simek [this message]

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=24f759a5-b8cf-ba04-367f-e39a3c996bd7@amd.com \
    --to=michal.simek@amd.com \
    --cc=abdellatif.elkhlifi@arm.com \
    --cc=git@xilinx.com \
    --cc=jh80.chung@samsung.com \
    --cc=sjg@chromium.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