aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/Makefile
diff options
context:
space:
mode:
authorAndre Przywara2019-04-12 16:28:54 +0530
committerJagan Teki2019-04-17 14:34:45 +0530
commitf8c8669760610b2949d8d9ccaeef8231a44d4205 (patch)
treeb2ba1412acd1bb0d64da31694fdf1937b3fe1b9e /drivers/ata/Makefile
parentbb3362b0ca0771a511d4a622d591b4dea5cb15e4 (diff)
sunxi: update SATA driver to always use DM_SCSI
It seems like the Allwinner SATA driver is already quite capable of using the driver model, so we can force this on all boards and can remove support for a non-DM_SCSI build. This removes the warning about boards with SATA ports not being DM_SCSI compliant. It also takes the opportunity to move the driver out of the board/sunxi directory to join its siblings in drivers/ata, and to make it a proper Kconfig citizen. The board defconfigs stay untouched. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jagan@openedev.com> [jagan: select DM_SCSI separately] Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/ata/Makefile')
-rw-r--r--drivers/ata/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile
index 10bed53bb3f..a69edb10f7a 100644
--- a/drivers/ata/Makefile
+++ b/drivers/ata/Makefile
@@ -18,3 +18,4 @@ obj-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
obj-$(CONFIG_SATA_SIL) += sata_sil.o
obj-$(CONFIG_SANDBOX) += sata_sandbox.o
obj-$(CONFIG_AHCI_MVEBU) += ahci_mvebu.o
+obj-$(CONFIG_SUNXI_AHCI) += ahci_sunxi.o