[edk2-devel] [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Hide RamMoreThan3GB setting

Samer El-Haj-Mahmoud samer.el-haj-mahmoud at arm.com
Wed Jun 17 18:32:48 UTC 2020


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 <leif at nuviainc.com>
Cc: Pete Batard <pete at akeo.ie>
Cc: Andrei Warkentin <awarkentin at vmware.com>
Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud at arm.com>
---
 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#61440): https://edk2.groups.io/g/devel/message/61440
Mute This Topic: https://groups.io/mt/74943699/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list