]> git.dujemihanovic.xyz Git - u-boot.git/commit
ata: dwc_ahci: Fix support for other platforms
authorJonas Karlman <jonas@kwiboo.se>
Sat, 22 Jul 2023 14:02:12 +0000 (14:02 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:03 +0000 (18:45 +0800)
commit7af6616c961d213b4bf2cc88003cbd868ea11ffa
treead9cbf3edf7b6d562dadc7c6b88e4c7f8e0825b5
parent96bdc655b09f248f1dbb0d10436437f1b45a47ec
ata: dwc_ahci: Fix support for other platforms

The dwc_ahci driver use platform specific defines, place the platform
specific code behind a ifdef CONFIG_ARCH_OMAP2PLUS to allow build and
use of the driver on Rockchip platform.

Fixes: 02a4b4297901 ("drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
drivers/ata/dwc_ahci.c