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