summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLijuan Gao <quic_lijuang@quicinc.com>2022-04-22 13:39:01 +0800
committerLijuan Gao <quic_lijuang@quicinc.com>2022-04-27 17:22:33 +0800
commit8e9e8b84ca742a239a18a8a3d96d4a4b25bd69fb (patch)
tree2d00c5f5a2e7988a99224359b77c80d080206678
parentb813daa9e317231376d7164613814669076a2d47 (diff)
QcomModulePkg: Align PlatformInfoTypes protocol to uefi
Platform info type field is not aligned between abl and uefi. Align them to ensure correct values are passed. Change-Id: Ie55756b36adec829a22f5ddb0f9dfa1a0da8a5ae
-rw-r--r--QcomModulePkg/Include/Protocol/EFIPlatformInfoTypes.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/QcomModulePkg/Include/Protocol/EFIPlatformInfoTypes.h b/QcomModulePkg/Include/Protocol/EFIPlatformInfoTypes.h
index 42c883bb4f..e2081203c3 100644
--- a/QcomModulePkg/Include/Protocol/EFIPlatformInfoTypes.h
+++ b/QcomModulePkg/Include/Protocol/EFIPlatformInfoTypes.h
@@ -26,6 +26,42 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+ /*
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ *
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted (subject to the limitations in the
+ * disclaimer below) provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
+ * GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
+ * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+ * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
#ifndef __EFIPLATFORMINFOTYPES_H__
#define __EFIPLATFORMINFOTYPES_H__
@@ -79,6 +115,10 @@ typedef enum {
EFI_PLATFORMINFO_TYPE_IOT = 0x20, /**< IOT device. */
EFI_PLATFORMINFO_TYPE_ATP = 0x21, /**< ATP device. */
EFI_PLATFORMINFO_TYPE_IDP = 0x22, /**< IDP device. */
+ EFI_PLATFORMINFO_TYPE_AEDK = 0x23, /**< AEDK device. */
+ EFI_PLATFORMINFO_TYPE_WDP = 0x24, /**< WDP device. */
+ EFI_PLATFORMINFO_TYPE_QAM = 0x25, /**< QAM device. */
+ EFI_PLATFORMINFO_TYPE_QXR = 0x26, /**< QXR device. */
EFI_PLATFORMINFO_NUM_TYPES, /**< Number of known targets
(including unknown). @newpage