From bff9700855e43e4948fb4f7249b9a4fb5451072e Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 24 Aug 2017 20:43:57 +0100 Subject: Platform/Armada/Pp2Dxe: switch to NonCoherentDmaLib Instead of hardcoding the non-cache coherent nature of this device by invoking UncachedMemoryAllocationLib directly for allocating shared buffers, switch to DmaLib, which encapsulates this at a more abstract level. This allows the driver to be shared with platforms that are cache coherent (by simply switching to another DmaLib implementation), and removes the hardcoded dependency on UncachedMemoryAllocationLib, which will be removed from upstream EDK2. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm Tested-by: Marcin Wojtas --- Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h') diff --git a/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h b/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h index 3bb0c4a653..a179638fd6 100644 --- a/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h +++ b/Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h @@ -46,13 +46,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include #include #include #include #include #include #include -#include #include "Mvpp2LibHw.h" -- cgit v1.2.3