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.web11.1720.1589270119803942150 for ; Tue, 12 May 2020 00:55:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ard.biesheuvel@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 7C68A31B; Tue, 12 May 2020 00:55:19 -0700 (PDT) Received: from e123331-lin.nice.arm.com (unknown [10.37.8.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7686C3F305; Tue, 12 May 2020 00:55:18 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, philmd@redhat.com, Ard Biesheuvel Subject: [PATCH edk2-platforms v2 1/7] Platform/RaspberryPi4: set DMA translation for BCM Genet driver Date: Tue, 12 May 2020 09:55:06 +0200 Message-Id: <20200512075512.12645-2-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200512075512.12645-1-ard.biesheuvel@arm.com> References: <20200512075512.12645-1-ard.biesheuvel@arm.com> 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 --- 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 { NULL|Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf + + gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x00000000 + gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xffffffff } # -- 2.17.1