[U-Boot] [PATCH] sunxi: update SATA driver to always use DM_SCSI
Simon Glass
sjg at chromium.org
Thu Feb 21 02:47:26 UTC 2019
On Wed, 13 Feb 2019 at 16:11, Andre Przywara <andre.przywara at arm.com> wrote:
>
> 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 at arm.com>
> ---
> board/sunxi/Makefile | 3 ---
> drivers/ata/Kconfig | 9 +++++++++
> drivers/ata/Makefile | 1 +
> board/sunxi/ahci.c => drivers/ata/ahci_sunxi.c | 11 +----------
> include/configs/sunxi-common.h | 6 ------
> scripts/config_whitelist.txt | 1 -
> 6 files changed, 11 insertions(+), 20 deletions(-)
> rename board/sunxi/ahci.c => drivers/ata/ahci_sunxi.c (94%)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list