From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 186F378003C for ; Wed, 10 Jan 2024 23:52:41 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=DgLRnoa9i4bDRgwHo+wmcXerJYmzQY7ShFG5z5fGkMg=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704930760; v=1; b=wxVC3//KqVfudmpCzi20NjXqexf4RtUr1wUF08/O8j5hLB4fyTQLHXuDeyst65vLKT9DRaQ2 l2WF4WulPVcnO47WGhUAUZDLbxge2GnUNPxGlSYttb0tNyWuA062zxEGt7Mszi+RPm91/U0u5FK dhcPXx9+My+iZM+xWTXbmyZ0= X-Received: by 127.0.0.2 with SMTP id C3DHYY7687511x7G171pMEs3; Wed, 10 Jan 2024 15:52:40 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.9161.1704930759276163935 for ; Wed, 10 Jan 2024 15:52:39 -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 A63D92F4; Wed, 10 Jan 2024 15:53:24 -0800 (PST) X-Received: from u200865.usa.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8FD6E3F5A1; Wed, 10 Jan 2024 15:52:38 -0800 (PST) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ardb+tianocore@kernel.org, quic_llindhol@quicinc.com, Jeremy Linton Subject: [edk2-devel] [PATCH 0/5] Platform/RaspberryPi: Various minor fixes Date: Wed, 10 Jan 2024 17:52:22 -0600 Message-ID: <20240110235227.2734271-1-jeremy.linton@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: 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 List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: XzF9IKnGfhNu3Sd8YZWBdvv2x7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="wxVC3//K"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This includes a change to always initialize the PL011 to the configured baud (which should be 115200 for the SBSA UART), which fixes linux's assumption that SBSA UARTs are pre-programmed for 115200. This in turn (re)enables the PL011 when the console is on the miniuart per the config.txt file. Also included is another spin with the DT/XHCI reset patch which puts removal of the DT node that causes linux to reset the XHCI controller, as well as an additional patch that updates the DT to match the PCIe MMIO window we have programmed. This cures much of the problem with the PCIe/XHCI configuration when booted in DT mode on linux. There is also a few menu visibility/section tweaks to assure ACPI/DT specific settings show up at the appropriate time. As well as a minor fix to work around a bogus compiler warning. Jeremy Linton (5): Platform/RaspberryPi/DualSerialPortLib: Always configure the pl011 Silicon/Broadcom/BcmGenetDxe: Suppress some bogus compiler warnings Platform/RaspberryPi: Cleanup menu visibility Platform/RaspberryPi: Give the user control over the XHCI mailbox Platform/RaspberryPi: Update PCIe MMIO window for DT .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 10 +++++ .../Drivers/ConfigDxe/ConfigDxe.inf | 1 + .../Drivers/ConfigDxe/ConfigDxeHii.uni | 5 +++ .../Drivers/ConfigDxe/ConfigDxeHii.vfr | 21 +++++++++-- Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.c | 28 ++++++++++++++ .../RaspberryPi/Drivers/FdtDxe/FdtDxe.inf | 1 + .../DualSerialPortLib/DualSerialPortLib.c | 37 +++++++++++-------- Platform/RaspberryPi/RPi3/RPi3.dsc | 6 +++ Platform/RaspberryPi/RPi4/RPi4.dsc | 7 ++++ Platform/RaspberryPi/RaspberryPi.dec | 1 + .../Drivers/Net/BcmGenetDxe/GenericPhy.c | 2 + .../Drivers/Net/BcmGenetDxe/SimpleNetwork.c | 3 ++ 12 files changed, 104 insertions(+), 18 deletions(-) -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113543): https://edk2.groups.io/g/devel/message/113543 Mute This Topic: https://groups.io/mt/103652852/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-