diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2017-12-13 12:04:40 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2018-02-23 14:23:35 +0000 |
commit | aae5def8bb413f497b9d48566152e650bf6bd15a (patch) | |
tree | 1ef9eab98a9d700659c183d230ef921dd1afda55 /EmbeddedPkg | |
parent | a9b7e035ba1f02b9b50cb6f883913d6d3b532eab (diff) | |
download | edk2-aae5def8bb413f497b9d48566152e650bf6bd15a.tar.gz edk2-aae5def8bb413f497b9d48566152e650bf6bd15a.tar.bz2 edk2-aae5def8bb413f497b9d48566152e650bf6bd15a.zip |
EmbeddedPkg: use central variable definitions in .vfr files
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>
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r-- | EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr | 9 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr | 9 |
2 files changed, 2 insertions, 16 deletions
diff --git a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr index a1e603abf0..725fbf52a5 100644 --- a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr +++ b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr @@ -12,16 +12,9 @@ *
**/
+#include <Uefi/UefiMultiPhase.h>
#include "ConsolePrefDxe.h"
-//
-// EFI Variable attributes
-//
-#define EFI_VARIABLE_NON_VOLATILE 0x00000001
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
-#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
-#define EFI_VARIABLE_READ_ONLY 0x00000008
-
formset
guid = CONSOLE_PREF_FORMSET_GUID,
title = STRING_TOKEN(STR_FORM_SET_TITLE),
diff --git a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr index 3516746c4d..80c6f36425 100644 --- a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr +++ b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr @@ -12,16 +12,9 @@ *
**/
+#include <Uefi/UefiMultiPhase.h>
#include "DtPlatformDxe.h"
-//
-// EFI Variable attributes
-//
-#define EFI_VARIABLE_NON_VOLATILE 0x00000001
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
-#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
-#define EFI_VARIABLE_READ_ONLY 0x00000008
-
formset
guid = DT_PLATFORM_FORMSET_GUID,
title = STRING_TOKEN(STR_FORM_SET_TITLE),
|