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.web08.4333.1620772913823007152 for ; Tue, 11 May 2021 15:41:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jeremy.linton@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 572CCD6E; Tue, 11 May 2021 15:41:53 -0700 (PDT) Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.28.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 43C4D3F718; Tue, 11 May 2021 15:41:53 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ardb+tianocore@kernel.org, pete@akeo.ie, samer.el-haj-mahmoud@arm.com, awarkentin@vmware.com, Jeremy Linton Subject: [PATCH 0/2] EMMC2 fix _DMA for newer SOC Date: Tue, 11 May 2021 17:41:47 -0500 Message-Id: <20210511224149.864718-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit The _DMA range needs to change depending on the SOC in use, this was part of the problem with enabling DMA by default because there wasn't a clear way to determine the SOC revision in use. Now that we have an id register for that, we can pick the correct _DMA at runtime. Lets also flip DMA on by default. Jeremy Linton (2): Platform/Raspberrypi: Update DMA constants based on SOC revision Platform/RaspberryPi: Invert emmc PIO/DMA selection Platform/RaspberryPi/AcpiTables/Emmc.asl | 39 +++++++++++++++++++++- .../RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 4 +-- Platform/RaspberryPi/RPi4/RPi4.dsc | 2 +- .../Bcm27xx/Include/IndustryStandard/Bcm2711.h | 2 ++ 4 files changed, 43 insertions(+), 4 deletions(-) -- 2.13.7