]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmbeddedPkg: use central variable definitions in .vfr files
authorLeif Lindholm <leif.lindholm@linaro.org>
Wed, 13 Dec 2017 12:04:40 +0000 (12:04 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 23 Feb 2018 14:23:35 +0000 (14:23 +0000)
Use UefiMultiPhase.h in Vfr.vfr instead of duplicating EFI_VARIABLE_*
definitions.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr
EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr

index a1e603abf0cee272771ccce339fdb147e818526c..725fbf52a56f99a9ff5da4467cbf5c5895f7e1e8 100644 (file)
 *\r
 **/\r
 \r
+#include <Uefi/UefiMultiPhase.h>\r
 #include "ConsolePrefDxe.h"\r
 \r
-//\r
-// EFI Variable attributes\r
-//\r
-#define EFI_VARIABLE_NON_VOLATILE       0x00000001\r
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
-#define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
-#define EFI_VARIABLE_READ_ONLY          0x00000008\r
-\r
 formset\r
   guid      = CONSOLE_PREF_FORMSET_GUID,\r
   title     = STRING_TOKEN(STR_FORM_SET_TITLE),\r
index 3516746c4d84fdd652f629177ce098cc96c749fd..80c6f36425bf1f14c2881a5d8a69d9bd1a1ffdf8 100644 (file)
 *\r
 **/\r
 \r
+#include <Uefi/UefiMultiPhase.h>\r
 #include "DtPlatformDxe.h"\r
 \r
-//\r
-// EFI Variable attributes\r
-//\r
-#define EFI_VARIABLE_NON_VOLATILE       0x00000001\r
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
-#define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
-#define EFI_VARIABLE_READ_ONLY          0x00000008\r
-\r
 formset\r
   guid      = DT_PLATFORM_FORMSET_GUID,\r
   title     = STRING_TOKEN(STR_FORM_SET_TITLE),\r