oemcommands: add https boot commands

1. netfn 0x30, cmd 0x57: GET_HTTPS_BOOT_DATA:
for BIOS to read cert data during POST

2. netfn 0x30, cmd 0x58: GET_HTTPS_BOOT_ATTR:
for BIOS to read cert info during POST
param 0: cert size
param 1: CRC32 of the cert

Change-Id: I258072916061f7859d101f2b4f8cdda018314b0c
Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
diff --git a/include/oemcommands.hpp b/include/oemcommands.hpp
index 21d10ae..3893bdf 100644
--- a/include/oemcommands.hpp
+++ b/include/oemcommands.hpp
@@ -49,6 +49,8 @@
     CMD_OEM_GET_80PORT_RECORD = 0x49,
     CMD_OEM_SET_BOOT_ORDER = 0x52,
     CMD_OEM_GET_BOOT_ORDER = 0x53,
+    CMD_OEM_GET_HTTPS_BOOT_DATA = 0x57,
+    CMD_OEM_GET_HTTPS_BOOT_ATTR = 0x58,
     CMD_OEM_SET_MACHINE_CONFIG_INFO = 0x6A,
     CMD_OEM_LEGACY_SET_PPR = 0x6E,
     CMD_OEM_LEGACY_GET_PPR = 0x6F,
@@ -243,6 +245,12 @@
     uint8_t data[];
 } qDriveInfo_t;
 
+enum class HttpsBootAttr : uint8_t
+{
+    certSize = 0x00,
+    certCrc = 0x01
+};
+
 enum class BankType : uint8_t
 {
     mca = 0x01,
@@ -283,6 +291,12 @@
 
 #pragma pack(push, 1)
 
+struct HttpsDataReq
+{
+    uint16_t offset;
+    uint8_t length;
+};
+
 struct CrdCmdHdr
 {
     uint8_t version;