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 <l...@nuviainc.com>
Cc: Pete Batard <p...@akeo.ie>
Cc: Andrei Warkentin <awarken...@vmware.com>
Cc: Ard Biesheuvel <ard.biesheu...@arm.com>
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@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/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to