]> git.dujemihanovic.xyz Git - u-boot.git/commit
ata: pci: enable bus mastering
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 11 Apr 2023 15:07:02 +0000 (17:07 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:28 +0000 (15:31 -0400)
commitcc6259832a11093f5c6dd0183263de26eb49d8b1
tree384da0827c2efe2f843e0a399962cd4c0d4f772c
parent23fd87c489276050b229b469c0cba4cb0e9d7a59
ata: pci: enable bus mastering

The non DM code path already would enable pci bus mastering. Do the
same for the DM code path.

Fixes AHCI problems I am seeing on an Intel Apollolake device.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[trini: Use ahci_dev not dev in the calls]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/ata/ahci.c