From: Bin Meng <bmeng.cn@gmail.com>
To: Stefan Roese <sr@denx.de>, u-boot@lists.denx.de
Subject: [PATCH 1/3] mtd: kconfig: Fix CFI_FLASH dependency
Date: Sat, 7 Aug 2021 13:00:00 +0800 [thread overview]
Message-ID: <20210807050002.32723-1-bmeng.cn@gmail.com> (raw)
The DM version CFI flash driver is in driver/mtd/cfi_flash.c, which
only gets built when FLASH_CFI_DRIVER is on. If CFI_FLASH is on but
FLASH_CFI_DRIVER is not, nothing is enabled at all.
Fix this dependency by selecting FLASH_CFI_DRIVER when CFI_FLASH is
enabled.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
drivers/mtd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index ad50c5e870..b303fabe0f 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -42,6 +42,7 @@ config FLASH_CFI_DRIVER
config CFI_FLASH
bool "Enable Driver Model for CFI Flash driver"
depends on DM_MTD
+ select FLASH_CFI_DRIVER
help
The Common Flash Interface specification was developed by Intel,
AMD and other flash manufactures. It provides a universal method
--
2.25.1
next reply other threads:[~2021-08-07 5:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-07 5:00 Bin Meng [this message]
2021-08-07 5:00 ` [PATCH 2/3] flash.h: Remove CONFIG_SYS_FLASH_CFI from flash_info_t Bin Meng
2021-08-11 8:34 ` Stefan Roese
2021-08-11 10:45 ` Stefan Roese
2021-08-07 5:00 ` [PATCH 3/3] riscv: qemu: Enable MTD NOR flash support Bin Meng
2021-08-11 8:34 ` Stefan Roese
2021-08-11 10:45 ` Stefan Roese
2021-08-11 8:33 ` [PATCH 1/3] mtd: kconfig: Fix CFI_FLASH dependency Stefan Roese
2021-08-11 10:44 ` Stefan Roese
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=20210807050002.32723-1-bmeng.cn@gmail.com \
--to=bmeng.cn@gmail.com \
--cc=sr@denx.de \
--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