[edk2-devel] [PATCH edk2-platforms v3 1/8] Platform/RaspberryPi4: set DMA translation for BCM Genet driver

Ard Biesheuvel ard.biesheuvel at arm.com
Tue May 12 16:41:18 UTC 2020


The driver for the Broadcom Genet network controller will shortly
be modified from a minimal MAC address programming driver to a true
SNP driver implementing full network functionality. Since this will
involve DMA, set the DmaLib parameters correctly in the platform.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel at arm.com>
Reviewed-by: Leif Lindholm <leif at nuviainc.com>
---
 Platform/RaspberryPi/RPi4/RPi4.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc
index 455dd2c2ac3c..ccc9eb923436 100644
--- a/Platform/RaspberryPi/RPi4/RPi4.dsc
+++ b/Platform/RaspberryPi/RPi4/RPi4.dsc
@@ -685,6 +685,9 @@ [Components.common]
   Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf {
     <LibraryClasses>
       NULL|Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf
+    <PcdsFixedAtBuild>
+      gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x00000000
+      gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xffffffff
   }
 
   #
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#59299): https://edk2.groups.io/g/devel/message/59299
Mute This Topic: https://groups.io/mt/74162664/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list