diff mbox series

[04/23] ata: Fix an instance of SPL_SATA_SUPPORT

Message ID 20220807154708.1418967-5-sjg@chromium.org
State Superseded
Delegated to: Tom Rini
Headers show
Series blk: Rationalise the block interface | expand

Commit Message

Simon Glass Aug. 7, 2022, 3:46 p.m. UTC
The _SUPPORT prefix should be dropped. This happened because the rename
was applied around the same time as this new option, so did not include
renaming the new option.

The relevant commits are:

   f7560376ae sata: Rename SATA_SUPPORT to SATA
   73059529b2 ata: ahci-pci: Add new option CONFIG_SPL_AHCI_PCI

Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/ata/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heinrich Schuchardt Aug. 8, 2022, 8:02 a.m. UTC | #1
On 8/7/22 17:46, Simon Glass wrote:
> The _SUPPORT prefix should be dropped. This happened because the rename

%s/prefix/postfix/

> was applied around the same time as this new option, so did not include
> renaming the new option.
>
> The relevant commits are:
>
>     f7560376ae sata: Rename SATA_SUPPORT to SATA
>     73059529b2 ata: ahci-pci: Add new option CONFIG_SPL_AHCI_PCI
>
> Fix it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>   drivers/ata/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
> index 7d2315bd4a2..70e6bd321a6 100644
> --- a/drivers/ata/Kconfig
> +++ b/drivers/ata/Kconfig
> @@ -47,7 +47,7 @@ config SPL_AHCI_PCI
>   	bool "Support for PCI-based AHCI controller for SPL"
>   	depends on SPL
>   	depends on SPL_PCI
> -	depends on SPL_SATA_SUPPORT && DM_SCSI
> +	depends on SPL_SATA && DM_SCSI
>
>   config DWC_AHCI
>   	bool "Enable Synopsys DWC AHCI driver support"
diff mbox series

Patch

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 7d2315bd4a2..70e6bd321a6 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -47,7 +47,7 @@  config SPL_AHCI_PCI
 	bool "Support for PCI-based AHCI controller for SPL"
 	depends on SPL
 	depends on SPL_PCI
-	depends on SPL_SATA_SUPPORT && DM_SCSI
+	depends on SPL_SATA && DM_SCSI
 
 config DWC_AHCI
 	bool "Enable Synopsys DWC AHCI driver support"