From nobody Fri Mar 29 15:17:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+104850+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104850+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1684129420; cv=none; d=zohomail.com; s=zohoarc; b=k9KwmzoTK5aS5AVlbJ8HXsq4+rr8XLnKZKW/q+QoX6eLovCR1Z06vCAcg2xZJqVRmJczoqdDpMtza3na62RSnvzXvkp8hQ4vkHs4cgJxSQouE5P+pKZtzjMyJv2efGVt/0bT/mJkaVuIDCuKcRJYUnpP8al6xQVTEsaHBQLdbRg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684129420; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=raRwFX3k+bs8QRQAxrd1dt1RRmMayge+yUMAr045cO8=; b=ITmwY8ygtpanbf8dsAwROs1pnUUJswGhJimqJj40JHijxFWtRyq+mOTYhI0VZWqsq4gIa95Ylp4vQj/CCcJ73Eybzz20o6MV11P0ZUcywua+cZZy+BZzxx0LSeI48fwrMWpH8FLvcvV+GY90EXPVtXJ8+45GBDf1wLwS50zIb9k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104850+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 168412942091322.00012697231432; Sun, 14 May 2023 22:43:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id mcejYY1788612xoSBZYEVDUB; Sun, 14 May 2023 22:43:40 -0700 X-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.82069.1684129419305576512 for ; Sun, 14 May 2023 22:43:39 -0700 X-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 6ACD732008C3; Mon, 15 May 2023 01:43:38 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 15 May 2023 01:43:38 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehiedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 01:43:36 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Chasel Chiu , Nate DeSimone , Sai Chaganty , Isaac Oram Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-platforms 1/2] Platform/Intel/WhiskeylakeOpenBoardPkg: Fix ALIGN16 macro Date: Sun, 14 May 2023 23:43:28 -0600 Message-Id: <20230515054329.3224434-2-rebecca@bsdio.com> In-Reply-To: <20230515054329.3224434-1-rebecca@bsdio.com> References: <20230515054329.3224434-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com X-Gm-Message-State: d7y4Hk41xluwGmHI4cl4NFDhx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1684129420; bh=nxRj0gL3H7zigfcZeOW3pTllPXADAxKPXSCTOjDtQ9Q=; h=Cc:Date:From:Reply-To:Subject:To; b=eO5LRYM1H19dQZhbl+WrrXSrSYSXLiIVbsEnJYcQP3ur2aapxQyrqU6qgoA7ud4G/dN MrWOtTQ85BmJuayiN4e33ikSakgm4Mj18E125Nir+SugI02GEG+YzFa9pFk6XqWwj9HNf 1QEvdv4tn5+wGlV5B7/shWHh3wc7XyL7nL4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1684129422649100005 Content-Type: text/plain; charset="utf-8" The IS_ALIGNED macro defined in PlatformBoardConfig.h conflicts with the definition from MdePkg/Include/Base.h. Delete it, and switch to ADDRESS_IS_ALIGNED. Signed-off-by: Rebecca Cran --- Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/PlatformBoa= rdConfig.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include= /PlatformBoardConfig.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/Whiskeylake= URvp/Include/PlatformBoardConfig.h index 44b4059f8ebf..4872a0afc65a 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Platfo= rmBoardConfig.h +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Platfo= rmBoardConfig.h @@ -15,8 +15,7 @@ #include #include =20 -#define IS_ALIGNED(addr, size) (((addr) & (size - 1)) ? 0 : 1) -#define ALIGN16(size) (IS_ALIGNED(size, 16) ? size : ((size + 16)= & 0xFFF0)) +#define ALIGN16(size) (ADDRESS_IS_ALIGNED(size, 16) ? size : ((si= ze + 16) & 0xFFF0)) =20 #define BOARD_CONFIG_BLOCK_PEI_PREMEM_VERSION 0x00000001 #define BOARD_CONFIG_BLOCK_PEI_POSTMEM_VERSION 0x00000001 --=20 2.39.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104850): https://edk2.groups.io/g/devel/message/104850 Mute This Topic: https://groups.io/mt/98897866/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Mar 29 15:17:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+104852+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104852+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1684129422; cv=none; d=zohomail.com; s=zohoarc; b=iraJX7KIhECGwN66j06BMvzdMTf6mScxLIX56YIdokPKcuRvIirK0yrcdhyUHMvTr3C5wlCmgZddEEShoMX2ncjIPlenajNsy388lRFp5jwqVQuFvBcjZyoowRtQnnllqUSetKAUPx8IW/8UGFc7j2yN19ZkwmLzSSB3A6jW+oU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684129422; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=hVHFo4n5Hqar2oERs7BYKDJxLlgynGZMtfFwpO9BvfY=; b=KjThwSDflI8JbZq8JZ6NOg4es2qNEODAQwix8UkQSnriGRJIRJ+RU9sqk4Q8F5hDUXlvfcPDa8fCvBvhOv4gSUBAeQ7s00nOb7ujt9ZoysEbT/q0vrhZmHuU5oLH5qjdn5C/6Hq7F5/oBzSzPv+/vXwDB9KZXiB9JomiRvro2Hs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104852+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1684129422397201.70429415102933; Sun, 14 May 2023 22:43:42 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id m997YY1788612xXeBrvDhU8H; Sun, 14 May 2023 22:43:42 -0700 X-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web11.81722.1684129421478507397 for ; Sun, 14 May 2023 22:43:41 -0700 X-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 90A6232006F2; Mon, 15 May 2023 01:43:40 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 15 May 2023 01:43:41 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehiedgleelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 01:43:39 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Chasel Chiu , Nate DeSimone , Sai Chaganty , Isaac Oram Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-platforms 2/2] Platform/Intel/WhiskeylakeOpenBoardPkg: Delete unused include files Date: Sun, 14 May 2023 23:43:29 -0600 Message-Id: <20230515054329.3224434-3-rebecca@bsdio.com> In-Reply-To: <20230515054329.3224434-1-rebecca@bsdio.com> References: <20230515054329.3224434-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com X-Gm-Message-State: bX8htezV9NBq3BYpKhTtTqXcx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1684129422; bh=/Rc0/BwzWD6X9vMHxv+ZaaNMk3qB/XjStNQ7ZZh2+so=; h=Cc:Date:From:Reply-To:Subject:To; b=Rpg4PyK0Y7psloUKelNblDm0G+9ORHvCqcrmlsDceggFoVd3RF2c/+O3ABNNaSHs5rX ATX2yJmUzmbi2fokDqW7IiyOX0gJN/xtmOqIt+urV0gVCzuCsNJUBHvZZxtflkugCcAbv gkH0Es2kJYBQMIW26Tq8OMu1KYnd/iBlu7s= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1684129423702100010 Content-Type: text/plain; charset="utf-8" The following include files appear to be unused, since the build system uses the corresponding files under WhiskeylakeOpenBoardPkg/Include instead: WhiskeylakeOpenBoardPkg/UpXtreme/Include/Library/PeiPlatformHookLib.h WhiskeylakeOpenBoardPkg/UpXtreme/Include/Library/PeiPlatformLib.h WhiskeylakeOpenBoardPkg/UpXtreme/Include/PlatformBoardConfig.h WhiskeylakeOpenBoardPkg/UpXtreme/Include/PlatformInfo.h Since they're unused and could cause confusion, delete them. Signed-off-by: Rebecca Cran --- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Library/PeiPlatfor= mHookLib.h | 131 -------------------- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Library/PeiPlatfor= mLib.h | 38 ------ Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/PlatformBoardConfi= g.h | 103 --------------- Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/PlatformInfo.h = | 42 ------- 4 files changed, 314 deletions(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Librar= y/PeiPlatformHookLib.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/In= clude/Library/PeiPlatformHookLib.h deleted file mode 100644 index febccdf48282..000000000000 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Library/PeiPl= atformHookLib.h +++ /dev/null @@ -1,131 +0,0 @@ -/** @file - UP Xtreme Platform Hook library. - - Copyright (c) 2020, Intel Corporation. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent -**/ - -#ifndef _PEI_PLATFORM_HOOK_LIB_H_ -#define _PEI_PLATFORM_HOOK_LIB_H_ - -#include -#include -#include - -// EC Command to provide one byte of debug indication -#define BSSB_DEBUG_INDICATION 0xAE -/** - Configure EC for specific devices - - @param[in] PchLan - The PchLan of PCH_SETUP variable. - @param[in] BootMode - The current boot mode. -**/ -VOID -EcInit ( - IN UINT8 PchLan, - IN EFI_BOOT_MODE BootMode - ); - -/** - Checks if Premium PMIC present - - @retval TRUE if present - @retval FALSE it discrete/other PMIC -**/ -BOOLEAN -IsPremiumPmicPresent ( - VOID - ); - -/** - Pmic Programming to supprort LPAL Feature - - @retval NONE -**/ -VOID -PremiumPmicDisableSlpS0Voltage ( - VOID - ); - -/** -Pmic Programming to supprort LPAL Feature - @retval NONE -**/ -VOID -PremiumPmicEnableSlpS0Voltage( - VOID - ); - -/** - Do platform specific programming pre-memory. For example, EC init, Chips= et programming - - @retval Status -**/ -EFI_STATUS -PlatformSpecificInitPreMem ( - VOID - ); - -/** - Do platform specific programming post-memory. - - @retval Status -**/ -EFI_STATUS -PlatformSpecificInit ( - VOID - ); - -/** - Configure GPIO and SIO Before Memory is ready. - - @retval EFI_SUCCESS Operation success. -**/ -EFI_STATUS -BoardInitPreMem ( - VOID - ); - -/** - Configure GPIO and SIO - - @retval EFI_SUCCESS Operation success. -**/ -EFI_STATUS -BoardInit ( - VOID - ); - -/** -Voltage Margining Routine - -@retval EFI_SUCCESS Operation success -**/ -EFI_STATUS -VoltageMarginingRoutine( - VOID - ); - -/** - Detect recovery mode - - @retval EFI_SUCCESS System in Recovery Mode - @retval EFI_UNSUPPORTED System doesn't support Recovery Mode - @retval EFI_NOT_FOUND System is not in Recovery Mode -**/ -EFI_STATUS -IsRecoveryMode ( - VOID - ); - -/** - Early board Configuration before Memory is ready. - - @retval EFI_SUCCESS Operation success. -**/ -EFI_STATUS -BoardInitEarlyPreMem ( - VOID - ); - -#endif diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Librar= y/PeiPlatformLib.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Includ= e/Library/PeiPlatformLib.h deleted file mode 100644 index 2514d2ec444b..000000000000 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Library/PeiPl= atformLib.h +++ /dev/null @@ -1,38 +0,0 @@ -/** @file - UP Xtreme platform library. - - Copyright (c) 2020, Intel Corporation. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent -**/ - -#ifndef _PEI_PLATFORM_LIB_H_ -#define _PEI_PLATFORM_LIB_H_ - -#define PEI_DEVICE_DISABLED 0 -#define PEI_DEVICE_ENABLED 1 - -typedef struct { - UINT8 Register; - UINT32 Value; -} PCH_GPIO_DEV; - -// -// GPIO Initialization Data Structure -// -typedef struct{ - PCH_GPIO_DEV Use_Sel; - PCH_GPIO_DEV Use_Sel2; - PCH_GPIO_DEV Use_Sel3; - PCH_GPIO_DEV Io_Sel; - PCH_GPIO_DEV Io_Sel2; - PCH_GPIO_DEV Io_Sel3; - PCH_GPIO_DEV Lvl; - PCH_GPIO_DEV Lvl2; - PCH_GPIO_DEV Lvl3; - PCH_GPIO_DEV Inv; - PCH_GPIO_DEV Blink; - PCH_GPIO_DEV Rst_Sel; - PCH_GPIO_DEV Rst_Sel2; -} GPIO_INIT_STRUCT; - -#endif diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Platfo= rmBoardConfig.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/P= latformBoardConfig.h deleted file mode 100644 index db6024a1e49d..000000000000 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/PlatformBoard= Config.h +++ /dev/null @@ -1,103 +0,0 @@ -/** @file - Header file for UP Xtreme platform board configuration. - - Copyright (c) 2020, Intel Corporation. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent -**/ - -#ifndef _PLATFORM_BOARD_CONFIG_H -#define _PLATFORM_BOARD_CONFIG_H - -#include -#include -#include -#include -#include - -#define IS_ALIGNED(addr, size) (((addr) & (size - 1)) ? 0 : 1) -#define ALIGN16(size) (IS_ALIGNED(size, 16) ? size : ((size + 16)= & 0xFFF0)) - -#define BOARD_CONFIG_BLOCK_PEI_PREMEM_VERSION 0x00000001 -#define BOARD_CONFIG_BLOCK_PEI_POSTMEM_VERSION 0x00000001 -#define BOARD_CONFIG_BLOCK_DXE_VERSION 0x00000001 -#define BOARD_NO_BATTERY_SUPPORT 0 -#define BOARD_REAL_BATTERY_SUPPORTED BIT0 -#define BOARD_VIRTUAL_BATTERY_SUPPORTED BIT1 - -#pragma pack(1) - -typedef struct { - CONFIG_BLOCK_HEADER Header; ///< Offset 0-27 Config Block= Header -} BOARD_CONFIG_BLOCK; - -typedef struct { - UINT8 GpioSupport; - UINT32 WakeGpioNo; - UINT8 HoldRstExpanderNo; - UINT32 HoldRstGpioNo; - BOOLEAN HoldRstActive; - UINT8 PwrEnableExpanderNo; - UINT32 PwrEnableGpioNo; - BOOLEAN PwrEnableActive; -} SWITCH_GRAPHIC_GPIO; - -typedef struct { - UINT8 ClkReqNumber : 4; - UINT8 ClkReqSupported : 1; - UINT8 DeviceResetPadActiveHigh : 1; - UINT32 DeviceResetPad; -} ROOT_PORT_CLK_INFO; - -typedef struct { - UINT8 Section; - UINT8 Pin; -} EXPANDER_GPIO_CONFIG; - -typedef enum { - BoardGpioTypePch, - BoardGpioTypeExpander, - BoardGpioTypeNotSupported =3D 0xFF -} BOARD_GPIO_TYPE; - -typedef struct { - UINT8 Type; - UINT8 Reserved[3]; // alignment for COMMON_GPIO_CONFIG - union { - UINT32 Pin; - EXPANDER_GPIO_CONFIG Expander; - } u; -} BOARD_GPIO_CONFIG; - -// Do not change the encoding. It must correspond with PCH_PCIE_CLOCK_USAG= E from PCH RC. -#define NOT_USED 0xFF -#define FREE_RUNNING 0x80 -#define LAN_CLOCK 0x70 -#define PCIE_PEG 0x40 -#define PCIE_PCH 0x00 - -typedef struct { - UINT32 ClockUsage; - UINT32 ClkReqSupported; -} PCIE_CLOCK_CONFIG; - -typedef union { - UINT64 Blob; - BOARD_GPIO_CONFIG BoardGpioConfig; - ROOT_PORT_CLK_INFO Info; - PCIE_CLOCK_CONFIG PcieClock; -} PCD64_BLOB; - -typedef union { - UINT32 Blob; - USB20_AFE Info; -} PCD32_BLOB; - -#ifndef IO_EXPANDER_DISABLED -#define IO_EXPANDER_DISABLED 0xFF -#endif - -#define SPD_DATA_SIZE 512 - -#pragma pack() - -#endif // _PLATFORM_BOARD_CONFIG_H diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Platfo= rmInfo.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/Platform= Info.h deleted file mode 100644 index 88564e37338d..000000000000 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Include/PlatformInfo.h +++ /dev/null @@ -1,42 +0,0 @@ -/** @file - GUID used for Platform Info Data entries in the HOB list. - - Copyright (c) 2020, Intel Corporation. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent -**/ - -#ifndef _PLATFORM_INFO_H_ -#define _PLATFORM_INFO_H_ - -#pragma pack(1) - -/// -/// PCH_GPIO_PAD is equivalent to GPIO_PAD which is defined in GpioConfig.h -/// -typedef UINT32 PCH_GPIO_PAD; //Copied from GpioConfig.h (need to change it= based on include) - -typedef struct { -UINT8 Expander; -UINT8 Pin; -UINT16 Reserved; // Reserved for future use -} IO_EXPANDER_PAD; - -typedef union { -PCH_GPIO_PAD PchGpio; -IO_EXPANDER_PAD IoExpGpio; -} GPIO_PAD_CONFIG; - -typedef struct { -UINT8 GpioType; // 0: Disabled (no GPIO support), 1: PCH= , 2: I/O Expander -UINT8 Reserved[3]; // Reserved for future use -GPIO_PAD_CONFIG GpioData; -} PACKED_GPIO_CONFIG; - -typedef union { -PACKED_GPIO_CONFIG PackedGpio; -UINT64 Data64; -} COMMON_GPIO_CONFIG; - -#pragma pack() - -#endif --=20 2.39.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104852): https://edk2.groups.io/g/devel/message/104852 Mute This Topic: https://groups.io/mt/98897868/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-