summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-20 14:53:24 -0600
committerTom Rini <[email protected]>2026-04-03 12:06:14 -0600
commitd05ef0f258c960c912bfaff2ccad8d7c4c6f35a9 (patch)
tree16e32fa729a606cec873e3da3b346741bfa64815 /cmd/Kconfig
parentb0eaaa067ea40611b9c047576adc8abd1a4d63a7 (diff)
sata: Rework the CMD_SATA and SATA symbols
Today we typically enable CMD_SATA in order to have the SATA functionality itself enabled, despite there being a clean split between the two symbols. This in turn leads to potential configuration problems. Split things so that SATA continues to be separate and not CMD_SATA instead depends, functionally, on AHCI being enabled. To do all of this: - Have X86 select AHCI directly rather than "default y" it later. - Make CMD_SATA be a default y option, given the split of platforms that enabled SATA and did, or did not, enable CMD_SATA. - Change "imply CMD_SATA" to "imply SATA" - Correct TARGET_VEXPRESS64_JUNO because you cannot select SATA_SIL without PCI (and in turn, SATA is needed for SATA_SIL). - Update a number of defconfigs to have no functional change. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index effc209f38e..64e342caad1 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1724,7 +1724,8 @@ config CMD_REMOTEPROC
config CMD_SATA
bool "sata - Access SATA subsystem"
- select SATA
+ depends on SATA && AHCI
+ default y
help
SATA (Serial Advanced Technology Attachment) is a serial bus
standard for connecting to hard drives and other storage devices.