Add d-bus interface for BIOS boot type (EFI/Legacy)
The interface is addded to support IPMI boot type field of a
"Get System Boot Options" сommand.
[1] - BIOS boot type (for BIOS that support both legacy and EFI boots)
0b = "PC compatible" boot (legacy)
1b = Extensible Firmware Interface Boot (EFI)
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: Ia31918ee941f4dbed5f27c4f5cbfb62c2b259d6e
diff --git a/xyz/openbmc_project/Control/Boot/Type.interface.yaml b/xyz/openbmc_project/Control/Boot/Type.interface.yaml
new file mode 100644
index 0000000..21063be
--- /dev/null
+++ b/xyz/openbmc_project/Control/Boot/Type.interface.yaml
@@ -0,0 +1,21 @@
+description: >
+ Implement to designate the type of a boot image.
+
+properties:
+ - name: BootType
+ type: enum[self.Types]
+ description: >
+ The desired boot image type.
+ default: EFI
+
+enumerations:
+ - name: Types
+ description: >
+ Possible types of a boot image.
+ values:
+ - name: Legacy
+ description: >
+ PC compatible boot.
+ - name: EFI
+ description: >
+ Extensible Firmware Interface Boot.