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 54C14941C70 for ; Wed, 17 Jan 2024 21:36:22 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zHVevFOQOafYkCM1qIo9QMO2TeNI8vLksBmZXKZ7sYQ=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: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=1705527381; v=1; b=oh2MK2/zpG/xuZSwG7JTeuCadwch2WF9Jzqrihj0l6XAnHFfLZEIDYvhS0d/DMQN2NQwr+EK zFkViClEzomG3ZStRkfdWEvw6BxvHKwjZU00xzdXTmKeScEF6aoKdfKYWf03n4fLq2Svt6esDoC cEfr45eAvpuqwSR/XSy4n5QQ= X-Received: by 127.0.0.2 with SMTP id NbnjYY7687511xJYOreIjOZK; Wed, 17 Jan 2024 13:36:21 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.629.1705527379189720949 for ; Wed, 17 Jan 2024 13:36:19 -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 CFE341650; Wed, 17 Jan 2024 13:37:04 -0800 (PST) X-Received: from u200865.usa.arm.com (unknown [10.119.39.253]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9C94B3F73F; Wed, 17 Jan 2024 13:36:18 -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 v2 3/5] Platform/RaspberryPi: Cleanup menu visibility Date: Wed, 17 Jan 2024 15:36:12 -0600 Message-ID: <20240117213614.4188518-4-jeremy.linton@arm.com> In-Reply-To: <20240117213614.4188518-1-jeremy.linton@arm.com> References: <20240117213614.4188518-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: bC50Q2JPbcfT50BDLmGYiCRax7686176AA= 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="oh2MK2/z"; 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 Lets allow some of these options to change when the system is in ACPI+DT mode. Plus the fan temp should be disabled when ACPI isn't enabled. Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr b/Pl= atform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr index e8bf16312d..f668b7a553 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr @@ -196,7 +196,7 @@ formset endoneof; =20 #if (RPI_MODEL =3D=3D 4) - grayoutif NOT ideqval SystemTableMode.Mode =3D=3D SYSTEM_TABLE_M= ODE_ACPI; + grayoutif ideqval SystemTableMode.Mode =3D=3D SYSTEM_TABLE_MODE_= DT; oneof varid =3D FanOnGpio.Enabled, prompt =3D STRING_TOKEN(STR_ADVANCED_FANONGPIO_PROMPT= ), help =3D STRING_TOKEN(STR_ADVANCED_FANONGPIO_HELP), @@ -207,7 +207,7 @@ formset endoneof; endif; =20 - grayoutif ideqval FanOnGpio.Enabled =3D=3D 0; + grayoutif ideqval FanOnGpio.Enabled =3D=3D 0 OR ideqval SystemTa= bleMode.Mode =3D=3D SYSTEM_TABLE_MODE_DT; numeric varid =3D FanTemp.Value, prompt =3D STRING_TOKEN(STR_ADVANCED_FANTEMP_PROMPT), help =3D STRING_TOKEN(STR_ADVANCED_FANTEMP_HELP), @@ -219,7 +219,7 @@ formset endif; =20 suppressif ideqval XhciPci.Value =3D=3D 2; - grayoutif NOT ideqval SystemTableMode.Mode =3D=3D SYSTEM_TABLE= _MODE_ACPI; + grayoutif ideqval SystemTableMode.Mode =3D=3D SYSTEM_TABLE_MOD= E_DT; oneof varid =3D XhciPci.Value, prompt =3D STRING_TOKEN(STR_ADVANCED_XHCIPCI_PROMPT), help =3D STRING_TOKEN(STR_ADVANCED_XHCIPCI_HELP), --=20 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113963): https://edk2.groups.io/g/devel/message/113963 Mute This Topic: https://groups.io/mt/103796309/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-