public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Cc: Peter Robinson <pbrobinson@gmail.com>
Subject: [PATCHv2 6/6] block: Remove "select BLK" from non-block drivers
Date: Tue, 14 Jan 2025 19:22:13 -0600	[thread overview]
Message-ID: <20250115012322.215243-7-trini@konsulko.com> (raw)
In-Reply-To: <20250115012322.215243-1-trini@konsulko.com>

Now that block drivers are all selecting the BLK symbol, there's no need
for other options to be select'ing BLK so that other required
functionality can be enabled. Remove these places.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
---
Changes in v2:
- None.
---
 arch/arm/Kconfig              | 4 ----
 arch/arm/mach-exynos/Kconfig  | 4 ----
 arch/arm/mach-imx/mx5/Kconfig | 2 +-
 arch/arm/mach-s5pc1xx/Kconfig | 1 -
 4 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 127241e608c4..314916527c9e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1372,7 +1372,6 @@ config ARCH_VEXPRESS64
 	select PL01X_SERIAL
 	select OF_CONTROL
 	select CLK
-	select BLK
 	select MTD_NOR_FLASH if MTD
 	select FLASH_CFI_DRIVER if MTD
 	select ENV_IS_IN_FLASH if MTD
@@ -1982,7 +1981,6 @@ config ARCH_STM32
 
 config ARCH_STI
 	bool "Support STMicroelectronics SoCs"
-	select BLK
 	select CPU_V7A
 	select DM
 	select DM_RESET
@@ -2029,7 +2027,6 @@ config ARCH_STM32MP
 
 config ARCH_ROCKCHIP
 	bool "Support Rockchip SoCs"
-	select BLK
 	select BINMAN if SPL_OPTEE || SPL
 	select DM
 	select DM_GPIO
@@ -2117,7 +2114,6 @@ config TARGET_POMELO
 	select AHCI
 	select SCSI_AHCI
 	select AHCI_PCI
-	select BLK
 	select PCI
 	select DM_PCI
 	select SCSI
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 7e6959510087..28193039cb84 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -18,7 +18,6 @@ config ARCH_EXYNOS4
 	bool "Exynos4 SoC family"
 	select BOARD_EARLY_INIT_F
 	select CPU_V7A
-	select BLK
 	select MMC
 	help
 	  Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
@@ -39,7 +38,6 @@ config ARCH_EXYNOS5
 	imply USB_ETHER_ASIX
 	imply USB_ETHER_RTL8152
 	imply USB_ETHER_SMSC95XX
-	select BLK
 	select MMC
 
 	help
@@ -51,7 +49,6 @@ config ARCH_EXYNOS7
 	bool "Exynos7 SoC family"
 	select ARM64
 	select BOARD_EARLY_INIT_F
-	select BLK
 	select MMC
 	help
 	  Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
@@ -61,7 +58,6 @@ config ARCH_EXYNOS7
 config ARCH_EXYNOS9
 	bool "Exynos9 SoC family"
 	select ARM64
-	select BLK
 	select MMC
 	help
 	  Samsung Exynos9 SoC family are based on ARMv8 Cortex CPU. There are
diff --git a/arch/arm/mach-imx/mx5/Kconfig b/arch/arm/mach-imx/mx5/Kconfig
index 4d1e07b14d32..0dfd68496875 100644
--- a/arch/arm/mach-imx/mx5/Kconfig
+++ b/arch/arm/mach-imx/mx5/Kconfig
@@ -26,7 +26,7 @@ config TARGET_KP_IMX53
 	select DM_I2C
 	select DM_PMIC
 	select DM_SERIAL
-	select BLK
+	select DM_MMC
 	select DM_REGULATOR
 	select MMC
 	select MX53
diff --git a/arch/arm/mach-s5pc1xx/Kconfig b/arch/arm/mach-s5pc1xx/Kconfig
index b15b2e7b6a01..d8b85f80e631 100644
--- a/arch/arm/mach-s5pc1xx/Kconfig
+++ b/arch/arm/mach-s5pc1xx/Kconfig
@@ -7,7 +7,6 @@ choice
 config TARGET_S5P_GONI
 	bool "S5P Goni board"
 	select OF_CONTROL
-	select BLK
 	select MISC_COMMON
 	select MMC
 
-- 
2.43.0


  parent reply	other threads:[~2025-01-15  1:24 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20 22:22 [PATCH 0/6] Rework the BLK symbol usage in Kconfig Tom Rini
2024-12-20 22:22 ` [PATCH 1/6] drivers/mmc/Kconfig: Remove extraneous BLK dependencies Tom Rini
2024-12-22 23:49   ` Jaehoon Chung
2025-01-14 13:25   ` Quentin Schulz
2025-01-14 16:58     ` Tom Rini
2024-12-20 22:22 ` [PATCH 2/6] drivers/mmc/Kconfig: Make DM_MMC a hidden symbol Tom Rini
2024-12-23 18:26   ` Peter Robinson
2025-01-14 13:43   ` Quentin Schulz
2025-01-14 16:58     ` Tom Rini
2024-12-20 22:22 ` [PATCH 3/6] efi_loader: Depend on BLK Tom Rini
2024-12-20 22:50   ` Heinrich Schuchardt
2024-12-20 22:22 ` [PATCH 4/6] blk: Make block subsystems select BLK Tom Rini
2024-12-23 18:31   ` Peter Robinson
2024-12-23 18:53     ` Tom Rini
2025-01-14 13:45   ` Quentin Schulz
2025-01-14 16:58     ` Tom Rini
2025-01-15 17:38       ` Quentin Schulz
2024-12-20 22:22 ` [PATCH 5/6] mtd: Correct dependency of BLK Tom Rini
2024-12-23 18:27   ` Peter Robinson
2025-01-14 13:46   ` Quentin Schulz
2024-12-20 22:22 ` [PATCH 6/6] block: Remove "select BLK" from non-block drivers Tom Rini
2024-12-23 18:26   ` Peter Robinson
2025-01-14 13:53   ` Quentin Schulz
2025-01-14 16:59     ` Tom Rini
2025-01-15 17:49       ` Quentin Schulz
2025-01-15 20:20         ` Tom Rini
2025-01-16  9:21           ` Quentin Schulz
2025-01-16 14:33             ` Tom Rini
2025-01-15  1:22 ` [PATCHv2 0/6] Rework the BLK symbol usage in Kconfig Tom Rini
2025-01-15  1:22   ` [PATCHv2 1/6] drivers/mmc/Kconfig: Remove extraneous BLK dependencies Tom Rini
2025-01-15  1:22   ` [PATCHv2 2/6] drivers/mmc/Kconfig: Make DM_MMC a hidden symbol Tom Rini
2025-01-15  1:22   ` [PATCHv2 3/6] efi_loader: Depend on BLK Tom Rini
2025-01-15  1:22   ` [PATCHv2 4/6] blk: Make block subsystems select BLK Tom Rini
2025-01-15 17:51     ` Quentin Schulz
2025-01-15 18:28       ` Tom Rini
2025-01-15  1:22   ` [PATCHv2 5/6] mtd: Correct dependency of BLK Tom Rini
2025-01-15  1:22   ` Tom Rini [this message]
2025-01-21  4:49   ` [PATCHv2 0/6] Rework the BLK symbol usage in Kconfig Tom Rini

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=20250115012322.215243-7-trini@konsulko.com \
    --to=trini@konsulko.com \
    --cc=pbrobinson@gmail.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