summaryrefslogtreecommitdiff
path: root/Platform/Hisilicon/D03
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-08-31 14:46:01 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-09-01 12:57:58 +0100
commit0b4ef4583f339994adbefb8134759c0eab44bb65 (patch)
tree0bca41b6b96ccaddbdca2006944ade0676c0e60b /Platform/Hisilicon/D03
parentbff9700855e43e4948fb4f7249b9a4fb5451072e (diff)
downloadedk2-platforms-0b4ef4583f339994adbefb8134759c0eab44bb65.tar.xz
Platform/Hisilicon: switch to NonCoherentDmaLib
Remove the shared ArmDmaLib resolution from the shared .dsc include file: it will be removed soon from upstream EDK2. Instead, replace it with an explicit NonCoherentDmaLib resolution for each driver that depends on DmaLib. This makes it more obvious which peripherals are non cache coherent, and forces derived platforms to choose a DmaLib resolution explicitly for newly added drivers. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/Hisilicon/D03')
-rw-r--r--Platform/Hisilicon/D03/D03.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
index 6363b7eeec..afea162cc4 100644
--- a/Platform/Hisilicon/D03/D03.dsc
+++ b/Platform/Hisilicon/D03/D03.dsc
@@ -473,6 +473,7 @@
Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf {
<LibraryClasses>
+ DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
NULL|Platform/Hisilicon/D03/Library/PlatformPciLib/PlatformPciLib.inf
}