From nobody Tue Feb 10 05:41:53 2026 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-