]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sata: sata_mv: Add DM support to enable CONFIG_BLK usage
authorStefan Roese <sr@denx.de>
Mon, 11 Mar 2019 12:29:20 +0000 (13:29 +0100)
committerStefan Roese <sr@denx.de>
Fri, 12 Apr 2019 05:04:18 +0000 (07:04 +0200)
commit0506620f4f4991be86f1b72d32005937ed11eff2
treeb870dba8b9679b03cec22122e8ed47362324a874
parent8cbafd14484c7065bc75b686933e887dc1e21ff8
sata: sata_mv: Add DM support to enable CONFIG_BLK usage

This patch adds DM support to the Armada XP SATA driver. This is needed
to enable CONFIG_BLK on this platform. It adds the SATA controller as
AHCI device, which is strictly speaking not correct, as the controller
is not AHCI compatible. But the U-Boot AHCI uclass interface enables
the usage of this DM driver and the creation of the corresponding BLK
devices.

This conversion is done to get rid of the compile warning:
Reviewed-by: Chris Packham <judge.packham@gmail.com>
===================== WARNING ======================
This board does not use CONFIG_DM_SCSI. Please update
the storage controller to use CONFIG_DM_SCSI before the v2019.07 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
drivers/ata/Kconfig
drivers/ata/sata_mv.c