]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr
EmbeddedPkg: import Lan91x Ethernet controller driver
[mirror_edk2.git] / EmbeddedPkg / Drivers / DtPlatformDxe / DtPlatformHii.vfr
CommitLineData
779cc439
AB
1/** @file\r
2*\r
3* Copyright (c) 2017, Linaro, Ltd. All rights reserved.\r
4*\r
5* This program and the accompanying materials\r
6* are licensed and made available under the terms and conditions of the BSD License\r
7* which accompanies this distribution. The full text of the license may be found at\r
8* http://opensource.org/licenses/bsd-license.php\r
9*\r
10* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12*\r
13**/\r
14\r
15#include "DtPlatformDxe.h"\r
16\r
17//\r
18// EFI Variable attributes\r
19//\r
20#define EFI_VARIABLE_NON_VOLATILE 0x00000001\r
21#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
22#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004\r
23#define EFI_VARIABLE_READ_ONLY 0x00000008\r
24\r
25formset\r
26 guid = DT_PLATFORM_FORMSET_GUID,\r
27 title = STRING_TOKEN(STR_FORM_SET_TITLE),\r
28 help = STRING_TOKEN(STR_FORM_SET_TITLE_HELP),\r
29 classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,\r
30\r
31 efivarstore DT_ACPI_VARSTORE_DATA,\r
32 attribute = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, // EFI variable attributes\r
33 name = DtAcpiPref,\r
34 guid = DT_PLATFORM_FORMSET_GUID;\r
35\r
36 form formid = 0x1000,\r
37 title = STRING_TOKEN(STR_MAIN_FORM_TITLE);\r
38\r
39 oneof varid = DtAcpiPref.Pref,\r
40 prompt = STRING_TOKEN(STR_DT_ACPI_SELECT_PROMPT),\r
41 help = STRING_TOKEN(STR_DT_ACPI_SELECT_HELP),\r
42 flags = NUMERIC_SIZE_1 | INTERACTIVE | RESET_REQUIRED,\r
43 option text = STRING_TOKEN(STR_DT_ACPI_SELECT_DT), value = DT_ACPI_SELECT_DT, flags = DEFAULT;\r
44 option text = STRING_TOKEN(STR_DT_ACPI_SELECT_ACPI), value = DT_ACPI_SELECT_ACPI, flags = 0;\r
45 endoneof;\r
46\r
47 subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
48\r
49 endform;\r
50\r
51endformset;\r