From nobody Thu Apr 25 14:40:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+70022+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70022+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1610086600; cv=none; d=zohomail.com; s=zohoarc; b=P5NdYQ1Z3P586ywmDWUFwJV+j4IrvZLAmwR5AINVGKduzK7alD2sFlARJyVrTXWBBQnDRHIUe7oCyot0dn8E4W1e8ZiIfcBnoXMu3kQgnkFAwnja878GGqAapR9eJFk7BBt/QDheTYKWIuGN8T6y46TFj0J6Fz4SJ8SNxO9Uoqk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610086600; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=PQw2XMm5SDJumViWrwRgKOq6JZzu6sXVbfxLKX6/ftE=; b=Ex4opsb845Qt9Y91FAtchOc9GTuEM0YP5hbo9sQTYPfNuDpHbOQinqAw7iqFIXBY7FFroJAtcjqvKJIb73vW7khDvspNf7EFxkRH/+vkVaUR3HD+hr/9uVCLjy4xHhFb9ULM2Vuf7VLkCV3M/3NN46Y5vbtZlkrvMHRIrk+3BZo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70022+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1610086600231936.7004707671747; Thu, 7 Jan 2021 22:16:40 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id WuRUYY1788612xku3dd0whaG; Thu, 07 Jan 2021 22:16:39 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.409.1610086594432263361 for ; Thu, 07 Jan 2021 22:16:34 -0800 X-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 1A6BCED1; Thu, 7 Jan 2021 22:16:34 -0800 (PST) X-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 0A8FB3F66E; Thu, 7 Jan 2021 22:16:34 -0800 (PST) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, samer.el-haj-mahmoud@arm.com, awarkentin@vmware.com, philmd@redhat.com, Jeremy Linton Subject: [edk2-devel] [PATCH 1/3] Platform/RaspberryPi/Acpitables: Further lower the DMA zone Date: Fri, 8 Jan 2021 00:16:21 -0600 Message-Id: <20210108061623.1721817-2-jeremy.linton@arm.com> In-Reply-To: <20210108061623.1721817-1-jeremy.linton@arm.com> References: <20210108061623.1721817-1-jeremy.linton@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jeremy.linton@arm.com X-Gm-Message-State: AyC9ba159jA4zSdBKJqTY2r5x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1610086599; bh=ZikA/e2ef1gIbqw1miL+NPMzlh7pHYg8LXjlebhGRak=; h=Cc:Date:From:Reply-To:Subject:To; b=olfU+Y4gw9wXzMBDi2rFc7ZBo3tlZNMAV8M+2WsU8BPBrHHBQdF0KUthgJgaGFrlc2q CjCB/Hn78M0jmT8xo4uJxDZjljBPQcmu47HrEcy1Vc/oNM+9h366a3ESv5xh4CKL29Z5I jmesbInD6ZeBX78LlHlfTsz7ec1ciSymC0g= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" We are going to add a _DMA() for the new controller, but it won't work right with the linux driver unless we lower the DMA zone again. Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/AcpiTables/Iort.aslc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/RaspberryPi/AcpiTables/Iort.aslc b/Platform/Raspberry= Pi/AcpiTables/Iort.aslc index 00720194bb..f576fa3b04 100644 --- a/Platform/RaspberryPi/AcpiTables/Iort.aslc +++ b/Platform/RaspberryPi/AcpiTables/Iort.aslc @@ -46,7 +46,7 @@ STATIC RPI4_IO_REMAPPING_STRUCTURE Iort =3D { 0x0, // AllocationHints 0x0, // Reserved 0x0, // MemoryAccessFlags - 31, // AddressSizeLimit + 30, // AddressSizeLimit }, { "\\_SB_.SCB0.XHC0" // ObjectName } --=20 2.13.7 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70022): https://edk2.groups.io/g/devel/message/70022 Mute This Topic: https://groups.io/mt/79518730/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu Apr 25 14:40:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+70023+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70023+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1610086602; cv=none; d=zohomail.com; s=zohoarc; b=Kioypw0TAWYqG0kz3lWAfjqo5luCuOcUklBSduslDO+bsGbIsjf2R7f2UNUjg9T7PNGoQe8FSQuyn+kgMZCjfB9Y+CsHMcRJnQ0hYOa6BXtvx3FaOKJmmqpvcU3E7RNkECw7GhP84r9GU6ENSJSs8QHzy1CnZk309A6RMyq6bLs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610086602; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=IZ+7T1seTPwLkU04/aoCUM+CCYdu8BnLaRXIe5VKi8U=; b=RLs0mn24Z0qRmR386y7bx+EU5uBewaLOpFpUAPwZw+9JVEcB8/ViYPge9mHmbIoo4pQWLhyZIxQjy+pdNXaew6JuK0RUuxfa+7C0nMu/PEqGuwxJCeqPRfNCC5si2+lGhpbHfR561TpE7k6/+w0KkrrICe7vF7q/jUK5Uz/S2hs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70023+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1610086602315602.744775003444; Thu, 7 Jan 2021 22:16:42 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id luWgYY1788612xQThT4fqQyt; Thu, 07 Jan 2021 22:16:42 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.404.1610086596493421280 for ; Thu, 07 Jan 2021 22:16:36 -0800 X-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 270DC113E; Thu, 7 Jan 2021 22:16:34 -0800 (PST) X-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 D68E53F66E; Thu, 7 Jan 2021 22:16:34 -0800 (PST) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, samer.el-haj-mahmoud@arm.com, awarkentin@vmware.com, philmd@redhat.com, Jeremy Linton Subject: [edk2-devel] [PATCH 2/3] Platform/RaspberryPi/Acpitables: Add eMMC2 device and tweak Arasan Date: Fri, 8 Jan 2021 00:16:22 -0600 Message-Id: <20210108061623.1721817-3-jeremy.linton@arm.com> In-Reply-To: <20210108061623.1721817-1-jeremy.linton@arm.com> References: <20210108061623.1721817-1-jeremy.linton@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jeremy.linton@arm.com X-Gm-Message-State: kqg4TkukOOBIjEBpefMOlaz5x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1610086602; bh=ec4bwivCGYI/ChJ3TL1IKgNKBo3ENKWtWv7CVD3H28o=; h=Cc:Date:From:Reply-To:Subject:To; b=XteUS7YSqms7qUNVbSTpWAD4VdVYTmEAoxu8bOvkJBjLyiAyP5AIPf1HCEg0/gbXb/0 NbosJluCJ+rmj0NSxiQQkYm9Qn0KLTuYlDDKsJEIqrB1KkwaiMy5O9S1rBwDb66I46XmD f1CXrrKHl3OAmJvFySUaHX98RTGy8I8WnNY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The primarly problem with the rpi Arasan controller working with a default SDHCI driver is the lack of a meaningful capabilities register. As such if we add a _DSD entry to provide that information, we can then bind it to the linux sdhci_iproc driver which already hardcodes the remaining controller bugs. Further we have gotten BRCME88C approved as the HID for the newer eMMC2 controller. So lets define an ACPI object to describe it. Of course both devices are sharing an interrupt so we should also indicate that in the table as well. Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/AcpiTables/Dsdt.asl | 2 + Platform/RaspberryPi/AcpiTables/Sdhc.asl | 86 ++++++++++++++++++++++++++++= +++- 2 files changed, 86 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/AcpiTables/Dsdt.asl b/Platform/RaspberryP= i/AcpiTables/Dsdt.asl index d116f965e1..cca08c0539 100644 --- a/Platform/RaspberryPi/AcpiTables/Dsdt.asl +++ b/Platform/RaspberryPi/AcpiTables/Dsdt.asl @@ -150,6 +150,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 5, "RPIFDN", "RPI"= , 2) QWORDMEMORYBUF(23) QWORDMEMORYBUF(24) QWORDMEMORYBUF(25) + QWORDMEMORYBUF(26) }) =20 // USB @@ -196,6 +197,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 5, "RPIFDN", "RPI"= , 2) // SDC QWORDMEMORYSET(24, MMCHS1_OFFSET, MMCHS1_LENGTH) QWORDMEMORYSET(25, SDHOST_OFFSET, SDHOST_LENGTH) + QWORDMEMORYSET(26, MMCHS2_OFFSET, MMCHS2_LENGTH) =20 Return (RBUF) } diff --git a/Platform/RaspberryPi/AcpiTables/Sdhc.asl b/Platform/RaspberryP= i/AcpiTables/Sdhc.asl index 0ab1ba27f2..a7ac831066 100644 --- a/Platform/RaspberryPi/AcpiTables/Sdhc.asl +++ b/Platform/RaspberryPi/AcpiTables/Sdhc.asl @@ -19,7 +19,7 @@ // Note: UEFI can use either SDHost or Arasan. We expose both to the OS. // =20 -// ArasanSD 3.0 SD Host Controller. +// ArasanSD 3.0 SD Host Controller. (brcm,bcm2835-sdhci) Device (SDC1) { Name (_HID, "BCM2847") @@ -37,7 +37,7 @@ Device (SDC1) Name (RBUF, ResourceTemplate () { MEMORY32FIXED (ReadWrite, 0, MMCHS1_LENGTH, RMEM) - Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { BCM2836_M= MCHS1_INTERRUPT } + Interrupt (ResourceConsumer, Level, ActiveHigh, Shared) { BCM2836_MMCH= S1_INTERRUPT } }) Method (_CRS, 0x0, Serialized) { @@ -45,6 +45,86 @@ Device (SDC1) Return (^RBUF) } =20 + // The standard CAPs registers on this controller + // appear to be 0, lets set some minimal defaults + // Since this cap doesn't indicate DMA capability + // we don't need a _DMA() + Name (_DSD, Package () { + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package () { + Package () { "sdhci-caps", 0x0100fa81 }, + } + }) + + + // + // A child device that represents the + // sd card, which is marked as non-removable. + // + Device (SDMM) + { + Method (_ADR) + { + Return (0) + } + Method (_RMV) // Is removable + { + Return (0) // 0 - fixed + } + } +} + +#if (RPI_MODEL =3D=3D 4) +// emmc2 Host Controller. (brcm,bcm2711-emmc2) +Device (SDC3) +{ + Name (_HID, "BRCME88C") + Name (_UID, 0x1) + Name (_CCA, 0x0) + Name (_S1D, 0x1) + Name (_S2D, 0x1) + Name (_S3D, 0x1) + Name (_S4D, 0x1) + Method (_STA) + { + Return(0xf) + } + Name (RBUF, ResourceTemplate () + { + MEMORY32FIXED (ReadWrite, 0, MMCHS2_LENGTH, RMEM) + Interrupt (ResourceConsumer, Level, ActiveHigh, Shared) { BCM2836_MMCH= S1_INTERRUPT } + }) + Method (_CRS, 0x0, Serialized) + { + MEMORY32SETBASE (RBUF, RMEM, RBAS, MMCHS2_OFFSET) + Return (^RBUF) + } + + // forceably limit to 1G + Name (_DMA, ResourceTemplate() { + QWordMemory (ResourceConsumer, + , + MinFixed, + MaxFixed, + NonCacheable, + ReadWrite, + 0x0, + 0x0, // MIN + 0x3fffffff, // MAX + 0x0, // TRA + 0x40000000, // LEN + , + , + ) + }) + + Name (_DSD, Package () { + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package () { + Package () { "sdhci-caps-mask", 0x0000000000080000 }, + } + }) + // // A child device that represents the // sd card, which is marked as non-removable. @@ -62,6 +142,7 @@ Device (SDC1) } } =20 +#else // !RPI4 =20 // Broadcom SDHost 2.0 SD Host Controller Device (SDC2) @@ -105,3 +186,4 @@ Device (SDC2) } } } +#endif // !RPI4 --=20 2.13.7 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70023): https://edk2.groups.io/g/devel/message/70023 Mute This Topic: https://groups.io/mt/79518731/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu Apr 25 14:40:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+70024+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70024+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1610086597; cv=none; d=zohomail.com; s=zohoarc; b=XGYvAXxry3YU7dvWhYiOrZ6O7nZnrCvrXveaq3uyf8vj6Tna4uGlX+WSmB4AfBuTNgPt47zbtz0hxAWurcJKVmWqJhuIXHdHDNG/n8b89AORew9OsfvaW83eLVpfw1AG/D9Jc0zucevq616aN8UF/95EmSyfJ+o+dLvZ/2uHovY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610086597; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=AADckxVJ+1h1kdR4drGwpzKbk31QT5mtXQNejl3Is9E=; b=MsG5T5TYY5llNHDMsLe3XE2vttvMHoZ0++97mKTGonsSiu4b0dRetm1Dy/RPhM4eqnCvMuuyvftCIX9gTEHia1A2Ho+HNDKNUSq/tBlEnp+4vIBDC/l3/aMBx9PD6IB26etM8TKgAim4Pe21LjFG4YCHDYMaXTYFkLw/4aWcXbE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70024+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1610086597739782.1522138500368; Thu, 7 Jan 2021 22:16:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id u3z5YY1788612xu57iUEJ20N; Thu, 07 Jan 2021 22:16:37 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.406.1610086596893728830 for ; Thu, 07 Jan 2021 22:16:37 -0800 X-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 8A915D6E; Thu, 7 Jan 2021 22:16:36 -0800 (PST) X-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 835A63F885; Thu, 7 Jan 2021 22:16:35 -0800 (PST) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, samer.el-haj-mahmoud@arm.com, awarkentin@vmware.com, philmd@redhat.com, Jeremy Linton Subject: [edk2-devel] [PATCH 3/3] Platform/RaspberryPi; Invert default Arasan, Emmc2 routing Date: Fri, 8 Jan 2021 00:16:23 -0600 Message-Id: <20210108061623.1721817-4-jeremy.linton@arm.com> In-Reply-To: <20210108061623.1721817-1-jeremy.linton@arm.com> References: <20210108061623.1721817-1-jeremy.linton@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jeremy.linton@arm.com X-Gm-Message-State: V8gpVOZvR6TA7fcjsxl6H45Mx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1610086597; bh=/ocH7olFs5R36Pjf1ZgI3ZUMFJSMyH3NCh991iax0cs=; h=Cc:Date:From:Reply-To:Subject:To; b=uYtzW49AdLLjzpy9cADtPQuan20I4G5qmAzPqcP2rdrH4UkYtxF9vsD7er8/c2B4CkL dbNhiHbu6MdKR5ec9gR9L4Nnq7XPH4RjE84NgxSgmrYzBttyRLKH1hjVYVZ+v4Uw1QyPd 9y91yTxuQMvcK+NDj1zNakGKMELDmYx05/A= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" In order for the wifi to work, and the SD to run at full speed we need to bind the sd slot to the eMMC2 controller. Since we now have a driver for the eMMC2 controller there isn't any reason to leave the SD card bound to the older Arasan controller. Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/RPi4/RPi4.dsc | 2 +- Platform/RaspberryPi/RPi4/Readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4= /RPi4.dsc index ddf4dd6a41..f6abe90e9d 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -475,7 +475,7 @@ # SD-related. # =20 - gRaspberryPiTokenSpaceGuid.PcdSdIsArasan|L"SdIsArasan"|gConfigDxeFormSet= Guid|0x0|1 + gRaspberryPiTokenSpaceGuid.PcdSdIsArasan|L"SdIsArasan"|gConfigDxeFormSet= Guid|0x0|0 gRaspberryPiTokenSpaceGuid.PcdMmcForce1Bit|L"MmcForce1Bit"|gConfigDxeFor= mSetGuid|0x0|0 gRaspberryPiTokenSpaceGuid.PcdMmcForceDefaultSpeed|L"MmcForceDefaultSpee= d"|gConfigDxeFormSetGuid|0x0|0 gRaspberryPiTokenSpaceGuid.PcdMmcSdDefaultSpeedMHz|L"MmcSdDefaultSpeedMH= z"|gConfigDxeFormSetGuid|0x0|25 diff --git a/Platform/RaspberryPi/RPi4/Readme.md b/Platform/RaspberryPi/RPi= 4/Readme.md index 3b2ed44e3c..80899f4ca4 100644 --- a/Platform/RaspberryPi/RPi4/Readme.md +++ b/Platform/RaspberryPi/RPi4/Readme.md @@ -181,7 +181,7 @@ Limit RAM to 3 GB | `RamLimitTo3GB` | Disabl= e =3D `0x00000000`
Ena System Table Selection | `SystemTableMode`| ACPI =3D `0x00000000` (d= efault)
ACPI + Devicetree =3D `0x00000001`
Devicetree =3D `0x00000= 002` Asset Tag | `AssetTag` | String, 32 characters or less = (e.g. `L"ABCD123"`)
(default `L""`) **SD/MMC Configuration** | -uSD/eMMC Routing | `SdIsArasan` | Arasan SDHC =3D `0x00000001`= (default)
eMMC2 SDHCI =3D `0x00000000` +uSD/eMMC Routing | `SdIsArasan` | Arasan SDHC =3D `0x00000001`=
eMMC2 SDHCI =3D `0x00000000` (default) Multi-Block Support | `MmcDisableMulti` | Multi-block transfers = =3D `0x00000000` (default)
Single block transfers =3D `0x00000001` uSD Max Bus Width | `MmcForce1Bit` | 4-bit Mode =3D `0x00000000= ` (default)
1-bit Mode =3D `0x00000001` uSD Force Default Speed | `MmcForceDefaultSpeed` | Allow High Speed = =3D `0x00000000` (default)
Force Default Speed =3D `0x00000001` --=20 2.13.7 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70024): https://edk2.groups.io/g/devel/message/70024 Mute This Topic: https://groups.io/mt/79518732/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-