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.web11.2281.1592418770378253625 for ; Wed, 17 Jun 2020 11:32:50 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: samer.el-haj-mahmoud@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 035461042; Wed, 17 Jun 2020 11:32:50 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B46E93F71F; Wed, 17 Jun 2020 11:32:49 -0700 (PDT) From: "Samer El-Haj-Mahmoud" To: devel@edk2.groups.io Cc: Leif Lindholm , Pete Batard , Andrei Warkentin , Ard Biesheuvel Subject: [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Hide RamMoreThan3GB setting Date: Wed, 17 Jun 2020 14:32:48 -0400 Message-Id: <20200617183248.3201-1-Samer.El-Haj-Mahmoud@arm.com> X-Mailer: git-send-email 2.17.1 Hide the RamMoreThan3GB HII seting when the feature is not support (i.e. on RPi with less than 4GB RAM) instead of graying it out. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr index d5615d7af0c5..e122b5b9ff5c 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr @@ -155,7 +155,7 @@ formset title = STRING_TOKEN(STR_ADVANCED_FORM_TITLE); subtitle text = STRING_TOKEN(STR_NULL_STRING); - grayoutif ideqval RamMoreThan3GB.Supported == 0; + suppressif ideqval RamMoreThan3GB.Supported == 0; oneof varid = RamLimitTo3GB.Enabled, prompt = STRING_TOKEN(STR_ADVANCED_3GB_PROMPT), help = STRING_TOKEN(STR_ADVANCED_3GB_HELP), -- 2.17.1