diff options
author | Tom Rini <trini@konsulko.com> | 2025-07-01 19:04:29 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-10 08:41:03 -0600 |
commit | a713fa1b5d4090fde3d84d25b7800de8f9feba62 (patch) | |
tree | 22885d0f20f300c75b65200fd21ceccf205f4bc4 | |
parent | dbe1fa4d260fffd094d936c27d17bf4910bf2472 (diff) |
ata: Correct two dependency issues
First, the SATA_MV driver can only build on kirkwood or mvebu platforms
due to header requirements, so add that as a dependency here. Second,
SYS_SATA_MAX_DEVICE is also used by the API code so allow it to be
configured in that case.
Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/ata/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 29ceab849c0..da9c72a99d0 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -131,6 +131,7 @@ config FSL_SATA_V2 config SATA_MV bool "Enable Marvell SATA controller driver support" + depends on ARCH_KIRKWOOD || ARCH_MVEBU select AHCI select LIBATA help @@ -148,7 +149,7 @@ config SATA_SIL config SYS_SATA_MAX_DEVICE int "Maximum number of SATA devices" - depends on !AHCI || FSL_SATA || SATA_MV + depends on !AHCI || FSL_SATA || SATA_MV || API help Sets the maximum number of SATA devices which can be supported by U-Boot. |