From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.779.1588970743061786445 for ; Fri, 08 May 2020 13:45:43 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: samer.el-haj-mahmoud@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C67C911FB; Fri, 8 May 2020 13:45:42 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D16E3F305; Fri, 8 May 2020 13:45:42 -0700 (PDT) From: "Samer El-Haj-Mahmoud" To: devel@edk2.groups.io Cc: Pete Batard , Leif Lindholm , Andrei Warkentin , Jared McNeill Subject: [edk2-platform][PATCH v1 6/6] Platform/RaspberryPi: set DMA translation for BCM Genet driver Date: Fri, 8 May 2020 16:45:38 -0400 Message-Id: <20200508204538.15650-7-Samer.El-Haj-Mahmoud@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508204538.15650-1-Samer.El-Haj-Mahmoud@arm.com> References: <20200508204538.15650-1-Samer.El-Haj-Mahmoud@arm.com> From: Ard Biesheuvel The driver for the Broadcom Genet network controller was modified from a minimal MAC address programming driver to a true SNP driver implementing full network functionality. Since this involve DMA, set the DmaLib parameters correctly in the platform. Cc: Pete Batard Cc: Leif Lindholm Cc: Andrei Warkentin Cc: Jared McNeill Signed-off-by: Ard Biesheuvel --- 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 333a49d28880..15b159ae569f 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -675,6 +675,9 @@ # !include NetworkPkg/Network.dsc.inc Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf { + + gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x00000000 + gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xffffffff } # -- 2.17.1